Handlers for sending and receiving HTTP/2 frames.
-
Interface Summary Interface Description Http2Connection Manager for the state of an HTTP/2 connection with the remote end-point.Http2Connection.Endpoint<F extends Http2FlowController> A view of the connection from one endpoint (local or remote).Http2Connection.Listener Listener for life-cycle events for streams in this connection.Http2Connection.PropertyKey A key to be used for associating application-defined properties with streams within this connection.Http2ConnectionDecoder Handler for inbound traffic on behalf ofHttp2ConnectionHandler
.Http2ConnectionEncoder Handler for outbound HTTP/2 traffic.Http2DataFrame HTTP/2 DATA frame.Http2DataWriter Interface that defines an object capable of producing HTTP/2 data frames.Http2FlowController Base interface for all HTTP/2 flow controllers.Http2Frame An HTTP/2 frame.Http2FrameListener An listener of HTTP/2 frames.Http2FrameReader Reads HTTP/2 frames from an inputBuffer
and notifies the specifiedHttp2FrameListener
when frames are complete.Http2FrameReader.Configuration Configuration specific toHttp2FrameReader
Http2FrameSizePolicy Http2FrameStream A single stream within an HTTP/2 connection.Http2FrameStreamVisitor A visitor that allows to iterate over a collection ofHttp2FrameStream
s.Http2FrameWriter A writer responsible for marshaling HTTP/2 frames to the channel.Http2FrameWriter.Configuration Configuration specific toHttp2FrameWriter
Http2GoAwayFrame HTTP/2 GOAWAY frame.Http2Headers A collection of headers sent or received via HTTP/2.Http2HeadersDecoder Decodes HPACK-encoded headers blocks intoHttp2Headers
.Http2HeadersDecoder.Configuration Configuration related elements for theHttp2HeadersDecoder
interfaceHttp2HeadersEncoder EncodesHttp2Headers
into HPACK-encoded headers blocks.Http2HeadersEncoder.Configuration Configuration related elements for theHttp2HeadersEncoder
interfaceHttp2HeadersEncoder.SensitivityDetector Determine if a header name/value pair is treated as sensitive.Http2HeadersFrame HTTP/2 HEADERS frame.Http2LifecycleManager Manager for the life cycle of the HTTP/2 connection.Http2LocalFlowController AHttp2FlowController
for controlling the inbound flow ofDATA
frames from the remote endpoint.Http2PingFrame HTTP/2 PING Frame.Http2PriorityFrame HTTP/2 Priority FrameHttp2PromisedRequestVerifier Provides an extensibility point for users to define the validity of push requests.Http2PushPromiseFrame HTTP/2 Push Promise FrameHttp2RemoteFlowController AHttp2FlowController
for controlling the flow of outboundDATA
frames to the remote endpoint.Http2RemoteFlowController.FlowControlled Implementations of this interface are used to progressively write chunks of the underlying payload to the stream.Http2RemoteFlowController.Listener Listener to the number of flow-controlled bytes written per stream.Http2ResetFrame HTTP/2 RST_STREAM frame.Http2SettingsAckFrame An ack for a previously receivedHttp2SettingsFrame
.Http2SettingsFrame HTTP/2 SETTINGS frame.Http2SettingsReceivedConsumer Provides a Consumer like interface to consume remote settings received but not yet ACKed.Http2Stream A single stream within an HTTP2 connection.Http2StreamChannel Http2StreamFrame A frame whose meaning may apply to a particular stream, instead of the entire connection.Http2StreamVisitor A visitor that allows iteration over a collection of streams.Http2UnknownFrame Http2WindowUpdateFrame HTTP/2 WINDOW_UPDATE frame.StreamByteDistributor An object (used by remote flow control) that is responsible for distributing the bytes to be written across the streams in the connection.StreamByteDistributor.StreamState State information for the stream, indicating the number of bytes that are currently streamable.StreamByteDistributor.Writer Object that performs the writing of the bytes that have been allocated for a stream. -
Class Summary Class Description AbstractHttp2ConnectionHandlerBuilder<T extends Http2ConnectionHandler,B extends AbstractHttp2ConnectionHandlerBuilder<T,B>> Abstract base class which defines commonly used features required to buildHttp2ConnectionHandler
instances.AbstractHttp2StreamFrame Abstract implementation ofHttp2StreamFrame
.AbstractInboundHttp2ToHttpAdapterBuilder<T extends InboundHttp2ToHttpAdapter,B extends AbstractInboundHttp2ToHttpAdapterBuilder<T,B>> A skeletal builder implementation ofInboundHttp2ToHttpAdapter
and its subtypes.CharSequenceMap<V> Internal use only!CleartextHttp2ServerUpgradeHandler Performing clear-text upgrade, by h2c HTTP upgrade or Prior Knowledge.CleartextHttp2ServerUpgradeHandler.PriorKnowledgeUpgradeEvent User event that is fired to notify about HTTP/2 protocol is started.CompressorHttp2ConnectionEncoder A decorating HTTP2 encoder that will compress data frames according to thecontent-encoding
header for each stream.DecoratingHttp2ConnectionDecoder Decorator around anotherHttp2ConnectionDecoder
instance.DecoratingHttp2ConnectionEncoder A decorator around anotherHttp2ConnectionEncoder
instance.DecoratingHttp2FrameWriter Decorator around anotherHttp2FrameWriter
instance.DefaultHttp2Connection Simple implementation ofHttp2Connection
.DefaultHttp2ConnectionDecoder Provides the default implementation for processing inbound frame events and delegates to aHttp2FrameListener
DefaultHttp2ConnectionEncoder Default implementation ofHttp2ConnectionEncoder
.DefaultHttp2DataFrame The defaultHttp2DataFrame
implementation.DefaultHttp2FrameReader AHttp2FrameReader
that supports all frame types defined by the HTTP/2 specification.DefaultHttp2FrameWriter AHttp2FrameWriter
that supports all frame types defined by the HTTP/2 specification.DefaultHttp2GoAwayFrame The defaultHttp2GoAwayFrame
implementation.DefaultHttp2Headers DefaultHttp2HeadersDecoder DefaultHttp2HeadersEncoder DefaultHttp2HeadersFrame The defaultHttp2HeadersFrame
implementation.DefaultHttp2LocalFlowController Basic implementation ofHttp2LocalFlowController
.DefaultHttp2PingFrame The defaultHttp2PingFrame
implementation.DefaultHttp2PriorityFrame Default implementation of Http2PriorityFrameDefaultHttp2PushPromiseFrame Default implementation ofHttp2PushPromiseFrame
DefaultHttp2RemoteFlowController Basic implementation ofHttp2RemoteFlowController
.DefaultHttp2ResetFrame The defaultHttp2ResetFrame
implementation.DefaultHttp2SettingsFrame The defaultHttp2SettingsFrame
implementation.DefaultHttp2UnknownFrame DefaultHttp2WindowUpdateFrame The defaultHttp2WindowUpdateFrame
implementation.DelegatingDecompressorFrameListener An HTTP2 frame listener that will decompress data frames according to thecontent-encoding
header for each stream.EmptyHttp2Headers Http2ChannelDuplexHandler AChannelHandler
providing additional functionality for HTTP/2.Http2ClientUpgradeCodec Client-side clear-text upgrade codec from HTTP to HTTP/2.Http2CodecUtil Constants and utility method used for encoding/decoding HTTP2 frames.Http2ConnectionAdapter Provides empty implementations of allHttp2Connection.Listener
methods.Http2ConnectionHandler Provides the default implementation for processing inbound frame events and delegates to aHttp2FrameListener
Http2ConnectionHandlerBuilder Builder which buildsHttp2ConnectionHandler
objects.Http2ConnectionPrefaceAndSettingsFrameWrittenEvent Signifies that the connection preface and the initial SETTINGS frame have been sent.Http2DataChunkedInput AChunkedInput
that fetches data chunk by chunk for use with HTTP/2 Data Frames.Http2EventAdapter This class bringsHttp2Connection.Listener
andHttp2FrameListener
together to provide NOOP implementation so inheriting classes can selectively choose which methods to override.Http2Flags Provides utility methods for accessing specific flags as defined by the HTTP/2 spec.Http2FrameAdapter Convenience class that provides no-op implementations for all methods ofHttp2FrameListener
.Http2FrameCodec This API is very immature. The Http2Connection-based API is currently preferred over this API.Http2FrameCodecBuilder Builder for theHttp2FrameCodec
.Http2FrameListenerDecorator Provides a decorator around aHttp2FrameListener
and delegates all method callsHttp2FrameLogger Logs HTTP2 frames for debugging purposes.Http2FrameStreamEvent Http2FrameTypes Registry of all standard frame types defined by the HTTP/2 specification.Http2InboundFrameLogger Decorator around aHttp2FrameReader
that logs all inbound frames before calling back the listener.Http2MultiplexHandler An HTTP/2 handler that creates child channels for each stream.Http2OutboundFrameLogger Decorator around aHttp2FrameWriter
that logs all outbound frames before calling the writer.Http2SecurityUtil Provides utilities related to security requirements specific to HTTP/2.Http2ServerUpgradeCodec Server-side codec for performing a cleartext upgrade from HTTP/1.x to HTTP/2.Http2Settings Settings for one endpoint in an HTTP/2 connection.Http2StreamChannelBootstrap Http2StreamFrameToHttpObjectCodec This handler converts fromHttp2StreamFrame
toHttpObject
, and back.HttpConversionUtil Provides utility methods and constants for the HTTP/2 to HTTP conversionHttpToHttp2ConnectionHandler Translates HTTP/1.x object writes into HTTP/2 frames.HttpToHttp2ConnectionHandlerBuilder Builder which buildsHttpToHttp2ConnectionHandler
objects.InboundHttp2ToHttpAdapter This adapter provides just header/data events from the HTTP message flow defined in [RFC 7540], Section 8.1.InboundHttp2ToHttpAdapterBuilder Builds anInboundHttp2ToHttpAdapter
.InboundHttpToHttp2Adapter Translates HTTP/1.x object reads into HTTP/2 frames.ReadOnlyHttp2Headers A variant ofHttp2Headers
which only supports read-only methods.StreamBufferingEncoder Implementation of aHttp2ConnectionEncoder
that dispatches all method call to anotherHttp2ConnectionEncoder
, untilSETTINGS_MAX_CONCURRENT_STREAMS
is reached.UniformStreamByteDistributor AStreamByteDistributor
that ignores stream priority and uniformly allocates bytes to all streams.WeightedFairQueueByteDistributor AStreamByteDistributor
that is sensitive to stream priority and uses Weighted Fair Queueing approach for distributing bytes. -
Enum Summary Enum Description Http2Error All error codes identified by the HTTP/2 spec.Http2Exception.ShutdownHint Provides a hint as to if shutdown is justified, what type of shutdown should be executed.Http2FrameLogger.Direction Http2FrameStreamEvent.Type Http2Headers.PseudoHeaderName HTTP/2 pseudo-headers names.Http2Stream.State The allowed states of an HTTP2 stream.HttpConversionUtil.ExtensionHeaderNames Provides the HTTP header extensions used to carry HTTP/2 information in HTTP objects -
Exception Summary Exception Description Http2Exception Exception thrown when an HTTP/2 error was encountered.Http2Exception.ClosedStreamCreationException Used when a stream creation attempt fails but may be because the stream was previously closed.Http2Exception.CompositeStreamException Provides the ability to handle multiple stream exceptions with one throw statement.Http2Exception.HeaderListSizeException Http2Exception.StreamException Represents an exception that can be isolated to a single stream (as opposed to the entire connection).Http2FrameStreamException An HTTP/2 exception for a specificHttp2FrameStream
.Http2NoMoreStreamIdsException This exception is thrown when there are no more stream IDs available for the current connectionStreamBufferingEncoder.Http2ChannelClosedException Thrown if buffered streams are terminated due to this encoder being closed.StreamBufferingEncoder.Http2GoAwayException Thrown byStreamBufferingEncoder
if buffered streams are terminated due to receipt of aGOAWAY
.