netty5/codec-http2/src/test/java/io/netty/handler/codec/http2
Scott Mitchell 541137cc93 HTTP/2 Flow Controller interface updates
Motivation:
Flow control is a required part of the HTTP/2 specification but it is currently structured more like an optional item. It must be accessed through the property map which is time consuming and does not represent its required nature. This access pattern does not give any insight into flow control outside of the codec (or flow controller implementation).

Modifications:
1. Create a read only public interface for LocalFlowState and RemoteFlowState.
2. Add a LocalFlowState localFlowState(); and RemoteFlowState remoteFlowState(); to Http2Stream.

Result:
Flow control is not part of the Http2Stream interface. This clarifies its responsibility and logical relationship to other interfaces. The flow controller no longer must be acquired though a map lookup.
2015-04-20 20:02:02 -07:00
..
DataCompressionHttp2Test.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
DefaultHttp2ConnectionDecoderTest.java Removing direct access to HTTP/2 child streams. 2015-04-10 08:52:26 -07:00
DefaultHttp2ConnectionEncoderTest.java Removing direct access to HTTP/2 child streams. 2015-04-10 08:52:26 -07:00
DefaultHttp2ConnectionTest.java HTTP/2 Priority tree circular link 2015-04-15 14:26:05 -07:00
DefaultHttp2FrameIOTest.java Http2DefaultFrameWriter direct write instead of copy 2015-02-06 11:56:14 -08:00
DefaultHttp2HeadersDecoderTest.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
DefaultHttp2HeadersEncoderTest.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
DefaultHttp2HeadersTest.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
DefaultHttp2LocalFlowControllerTest.java HTTP/2 Flow Controller interface updates 2015-04-20 20:02:02 -07:00
DefaultHttp2RemoteFlowControllerTest.java HTTP/2 Flow Controller interface updates 2015-04-20 20:02:02 -07:00
Http2ConnectionHandlerTest.java Removing direct access to HTTP/2 child streams. 2015-04-10 08:52:26 -07:00
Http2ConnectionRoundtripTest.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2FrameRoundtripTest.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2HeaderBlockIOTest.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2SettingsTest.java Change Http2Settings to use char keys. 2015-04-10 11:50:24 -07:00
Http2TestUtil.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
HttpToHttp2ConnectionHandlerTest.java Removing debugging change from unit test. 2015-02-11 09:07:08 -08:00
InboundHttp2ToHttpAdapterTest.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00