DefaultHttp2LocalFlowController implements Http2LocalFlowController { public void windowUpdateRatio(float ratio) { assert ctx == null || ctx.executor().inEventLoop(); checkValidRatio(ratio); windowUpdateRatio = ratio; } DefaultHttp2LocalFlowController(Http2Connection connection);  DefaultHttp2LocalFlowController(Http2Connection connection,
                                           float windowUpdateRatio,
                                           boolean autoRefillConnectionWindow); @Override DefaultHttp2LocalFlowController frameWriter(Http2FrameWriter frameWriter); @Override void channelHandlerContext(ChannelHandlerContext ctx); @Override void initialWindowSize(int newWindowSize); @Override int initialWindowSize(); @Override int windowSize(Http2Stream stream); @Override int initialWindowSize(Http2Stream stream); @Override void incrementWindowSize(Http2Stream stream, int delta); @Override boolean consumeBytes(Http2Stream stream, int numBytes); @Override int unconsumedBytes(Http2Stream stream); void windowUpdateRatio(float ratio); float windowUpdateRatio(); void windowUpdateRatio(Http2Stream stream, float ratio); float windowUpdateRatio(Http2Stream stream); @Override void receiveFlowControlledFrame(Http2Stream stream, ByteBuf data, int padding,
            boolean endOfStream); static final float DEFAULT_WINDOW_UPDATE_RATIO; }
@Test public void globalRatioShouldImpactStreams() throws Http2Exception { float ratio = 0.6f; controller.windowUpdateRatio(ratio); testRatio(ratio, DEFAULT_WINDOW_SIZE << 1, 3, false); }