netty5/codec-http2/src/main/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
..
CompressorHttp2ConnectionEncoder.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
DecoratingHttp2ConnectionDecoder.java Cleaning up the initialization of Http2ConnectionHandler 2015-03-30 11:23:02 -07:00
DecoratingHttp2ConnectionEncoder.java Cleaning up the initialization of Http2ConnectionHandler 2015-03-30 11:23:02 -07:00
DecoratingHttp2FrameWriter.java Cleaning up the initialization of Http2ConnectionHandler 2015-03-30 11:23:02 -07:00
DefaultHttp2Connection.java HTTP/2 Flow Controller interface updates 2015-04-20 20:02:02 -07:00
DefaultHttp2ConnectionDecoder.java Fix GOAWAY logic in Http2Encoder and Http2Decoder. 2015-04-07 20:32:28 -07:00
DefaultHttp2ConnectionEncoder.java Fix GOAWAY logic in Http2Encoder and Http2Decoder. 2015-04-07 20:32:28 -07:00
DefaultHttp2FrameReader.java Change Http2Settings to use char keys. 2015-04-10 11:50:24 -07:00
DefaultHttp2FrameWriter.java Change Http2Settings to use char keys. 2015-04-10 11:50:24 -07:00
DefaultHttp2Headers.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
DefaultHttp2HeadersDecoder.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
DefaultHttp2HeadersEncoder.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
DefaultHttp2HeaderTableListSize.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
DefaultHttp2LocalFlowController.java HTTP/2 Flow Controller interface updates 2015-04-20 20:02:02 -07:00
DefaultHttp2RemoteFlowController.java HTTP/2 Flow Controller interface updates 2015-04-20 20:02:02 -07:00
DelegatingDecompressorFrameListener.java HTTP/2 Flow Controller interface updates 2015-04-20 20:02:02 -07:00
EmptyHttp2Headers.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
Http2ClientUpgradeCodec.java Change Http2Settings to use char keys. 2015-04-10 11:50:24 -07:00
Http2CodecUtil.java Removing Http2StreamRemovalPolicy 2015-04-13 12:18:59 -07:00
Http2Connection.java HTTP/2 Connection Listener Unchecked Exceptions 2015-04-13 08:54:14 -07:00
Http2ConnectionAdapter.java Include error code and message in GOAWAY events. 2015-03-31 09:18:26 -07:00
Http2ConnectionDecoder.java Cleaning up the initialization of Http2ConnectionHandler 2015-03-30 11:23:02 -07:00
Http2ConnectionEncoder.java Cleaning up the initialization of Http2ConnectionHandler 2015-03-30 11:23:02 -07:00
Http2ConnectionHandler.java HTTP/2 Connection Listener Unchecked Exceptions 2015-04-13 08:54:14 -07:00
Http2DataWriter.java Http2DefaultFrameWriter direct write instead of copy 2015-02-06 11:56:14 -08:00
Http2Error.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2EventAdapter.java Include error code and message in GOAWAY events. 2015-03-31 09:18:26 -07:00
Http2Exception.java Http/2 Priority on CLOSED stream 2015-03-28 19:10:43 -07:00
Http2Flags.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2FlowController.java HTTP/2 Flow Controller interface updates 2015-04-20 20:02:02 -07:00
Http2FrameAdapter.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2FrameListener.java Http/2 Priority on CLOSED stream 2015-03-28 19:10:43 -07:00
Http2FrameListenerDecorator.java HTTP/2 Decoder reduce preface conditional checks 2015-03-28 18:52:35 -07:00
Http2FrameLogger.java Using public LogLevel for HTTP/2 frame logging. 2015-03-17 15:10:35 -07:00
Http2FrameReader.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2FrameSizePolicy.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2FrameTypes.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2FrameWriter.java Http2DefaultFrameWriter direct write instead of copy 2015-02-06 11:56:14 -08:00
Http2Headers.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
Http2HeadersDecoder.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2HeadersEncoder.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
Http2HeaderTable.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2InboundFrameLogger.java HTTP/2 Decoder reduce preface conditional checks 2015-03-28 18:52:35 -07:00
Http2LifecycleManager.java HTTP/2 LifecycleManager and Http2ConnectionHandler interface clarifications 2015-04-06 14:34:20 -07:00
Http2LocalFlowController.java Zero length data frames should apply flow control. 2015-01-23 11:07:46 -05:00
Http2NoMoreStreamIdsException.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2OrHttpChooser.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2OutboundFrameLogger.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2PromisedRequestVerifier.java Http2 draft 17 2015-03-25 09:02:15 -07:00
Http2RemoteFlowController.java Have FlowState.cancel take a Throwable and code cleanup. 2015-03-19 22:01:02 -07:00
Http2SecurityUtil.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00
Http2ServerUpgradeCodec.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
Http2Settings.java Change Http2Settings to use char keys. 2015-04-10 11:50:24 -07:00
Http2Stream.java HTTP/2 Flow Controller interface updates 2015-04-20 20:02:02 -07:00
Http2StreamVisitor.java Removing direct access to HTTP/2 child streams. 2015-04-10 08:52:26 -07:00
HttpToHttp2ConnectionHandler.java Cleaning up the initialization of Http2ConnectionHandler 2015-03-30 11:23:02 -07:00
HttpUtil.java ByteString misses encountered during forward port 2015-04-14 17:11:09 -07:00
InboundHttp2ToHttpAdapter.java Include error code and message in GOAWAY events. 2015-03-31 09:18:26 -07:00
InboundHttp2ToHttpPriorityAdapter.java ByteString introduced as AsciiString super class 2015-04-14 16:35:17 -07:00
package-info.java Back port HTTP/2 codec from master to 4.1 2015-01-23 11:06:11 -05:00