接口 | 说明 |
---|---|
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 of
Http2ConnectionHandler . |
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 input
ByteBuf and notifies the specified
Http2FrameListener when frames are complete. |
Http2FrameReader.Configuration |
Configuration specific to
Http2FrameReader |
Http2FrameSizePolicy | |
Http2FrameStream |
A single stream within an HTTP/2 connection.
|
Http2FrameStreamVisitor |
A visitor that allows to iterate over a collection of
Http2FrameStream s. |
Http2FrameWriter |
A writer responsible for marshaling HTTP/2 frames to the channel.
|
Http2FrameWriter.Configuration |
Configuration specific to
Http2FrameWriter |
Http2GoAwayFrame |
HTTP/2 GOAWAY frame.
|
Http2Headers |
A collection of headers sent or received via HTTP/2.
|
Http2HeadersDecoder |
Decodes HPACK-encoded headers blocks into
Http2Headers . |
Http2HeadersDecoder.Configuration |
Configuration related elements for the
Http2HeadersDecoder interface |
Http2HeadersEncoder |
Encodes
Http2Headers into HPACK-encoded headers blocks. |
Http2HeadersEncoder.Configuration |
Configuration related elements for the
Http2HeadersEncoder interface |
Http2HeadersEncoder.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 |
A
Http2FlowController for controlling the inbound flow of DATA frames from the remote endpoint. |
Http2PingFrame |
HTTP/2 PING Frame.
|
Http2PriorityFrame |
HTTP/2 Priority Frame
|
Http2PromisedRequestVerifier |
Provides an extensibility point for users to define the validity of push requests.
|
Http2PushPromiseFrame |
HTTP/2 Push Promise Frame
|
Http2RemoteFlowController |
A
Http2FlowController for controlling the flow of outbound DATA 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 received
Http2SettingsFrame . |
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.
|
类 | 说明 |
---|---|
AbstractHttp2ConnectionHandlerBuilder<T extends Http2ConnectionHandler,B extends AbstractHttp2ConnectionHandlerBuilder<T,B>> |
Abstract base class which defines commonly used features required to build
Http2ConnectionHandler instances. |
AbstractHttp2StreamFrame |
Abstract implementation of
Http2StreamFrame . |
AbstractInboundHttp2ToHttpAdapterBuilder<T extends InboundHttp2ToHttpAdapter,B extends AbstractInboundHttp2ToHttpAdapterBuilder<T,B>> |
A skeletal builder implementation of
InboundHttp2ToHttpAdapter and its subtypes. |
CharSequenceMap<V> |
Internal use only!
|
CleartextHttp2ServerUpgradeHandler |
Performing cleartext 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 the
content-encoding header for each
stream. |
DecoratingHttp2ConnectionDecoder |
Decorator around another
Http2ConnectionDecoder instance. |
DecoratingHttp2ConnectionEncoder |
A decorator around another
Http2ConnectionEncoder instance. |
DecoratingHttp2FrameWriter |
Decorator around another
Http2FrameWriter instance. |
DefaultHttp2Connection |
Simple implementation of
Http2Connection . |
DefaultHttp2ConnectionDecoder |
Provides the default implementation for processing inbound frame events and delegates to a
Http2FrameListener
This class will read HTTP/2 frames and delegate the events to a Http2FrameListener
This interface enforces inbound flow control functionality through
Http2LocalFlowController |
DefaultHttp2ConnectionEncoder |
Default implementation of
Http2ConnectionEncoder . |
DefaultHttp2DataFrame |
The default
Http2DataFrame implementation. |
DefaultHttp2FrameReader |
A
Http2FrameReader that supports all frame types defined by the HTTP/2 specification. |
DefaultHttp2FrameWriter |
A
Http2FrameWriter that supports all frame types defined by the HTTP/2 specification. |
DefaultHttp2GoAwayFrame |
The default
Http2GoAwayFrame implementation. |
DefaultHttp2Headers | |
DefaultHttp2HeadersDecoder | |
DefaultHttp2HeadersEncoder | |
DefaultHttp2HeadersFrame |
The default
Http2HeadersFrame implementation. |
DefaultHttp2LocalFlowController |
Basic implementation of
Http2LocalFlowController . |
DefaultHttp2PingFrame |
The default
Http2PingFrame implementation. |
DefaultHttp2PriorityFrame |
Default implementation of Http2PriorityFrame
|
DefaultHttp2PushPromiseFrame |
Default implementation of
Http2PushPromiseFrame |
DefaultHttp2RemoteFlowController |
Basic implementation of
Http2RemoteFlowController . |
DefaultHttp2ResetFrame |
The default
Http2ResetFrame implementation. |
DefaultHttp2SettingsFrame |
The default
Http2SettingsFrame implementation. |
DefaultHttp2UnknownFrame | |
DefaultHttp2WindowUpdateFrame |
The default
Http2WindowUpdateFrame implementation. |
DelegatingDecompressorFrameListener |
An HTTP2 frame listener that will decompress data frames according to the
content-encoding header for each
stream. |
EmptyHttp2Headers | |
HpackBenchmarkUtil |
Utility methods for hpack tests.
|
HpackDecoderBenchmark | |
HpackDecoderULE128Benchmark | |
HpackEncoderBenchmark | |
HpackEncoderBenchmarkUniqueValues | |
HpackHeader |
Helper class representing a single header entry.
|
HpackStaticTableBenchmark | |
HpackUtilBenchmark | |
Http2ChannelDuplexHandler |
A
ChannelDuplexHandler providing additional functionality for HTTP/2. |
Http2ClientUpgradeCodec |
Client-side cleartext upgrade codec from HTTP to HTTP/2.
|
Http2CodecUtil |
Constants and utility method used for encoding/decoding HTTP2 frames.
|
Http2ConnectionAdapter |
Provides empty implementations of all
Http2Connection.Listener methods. |
Http2ConnectionHandler |
Provides the default implementation for processing inbound frame events and delegates to a
Http2FrameListener
This class will read HTTP/2 frames and delegate the events to a Http2FrameListener
This interface enforces inbound flow control functionality through
Http2LocalFlowController |
Http2ConnectionHandlerBuilder |
Builder which builds
Http2ConnectionHandler objects. |
Http2ConnectionPrefaceAndSettingsFrameWrittenEvent |
Signifies that the connection preface and
the initial SETTINGS frame have been sent.
|
Http2DataChunkedInput |
A
ChunkedInput that fetches data chunk by chunk for use with HTTP/2 Data Frames. |
Http2EventAdapter |
This class brings
Http2Connection.Listener and Http2FrameListener 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 of
Http2FrameListener . |
Http2FrameCodec |
This API is very immature.
|
Http2FrameCodecBuilder |
Builder for the
Http2FrameCodec . |
Http2FrameListenerDecorator |
Provides a decorator around a
Http2FrameListener and delegates all method calls |
Http2FrameLogger |
Logs HTTP2 frames for debugging purposes.
|
Http2FrameStreamEvent | |
Http2FrameTypes |
Registry of all standard frame types defined by the HTTP/2 specification.
|
Http2FrameWriterDataBenchmark | |
Http2InboundFrameLogger |
Decorator around a
Http2FrameReader that logs all inbound frames before calling
back the listener. |
Http2MultiplexCodec | 已过时
use
Http2FrameCodecBuilder together with Http2MultiplexHandler . |
Http2MultiplexCodecBuilder | 已过时
use
Http2FrameCodecBuilder together with Http2MultiplexHandler . |
Http2MultiplexHandler |
An HTTP/2 handler that creates child channels for each stream.
|
Http2OutboundFrameLogger |
Decorator around a
Http2FrameWriter that logs all outbound frames before calling the
writer. |
Http2PseudoHeadersLookupBenchmark | |
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 from
Http2StreamFrame to HttpObject ,
and back. |
HttpConversionUtil |
Provides utility methods and constants for the HTTP/2 to HTTP conversion
|
HttpToHttp2ConnectionHandler |
Translates HTTP/1.x object writes into HTTP/2 frames.
|
HttpToHttp2ConnectionHandlerBuilder |
Builder which builds
HttpToHttp2ConnectionHandler objects. |
InboundHttp2ToHttpAdapter |
This adapter provides just header/data events from the HTTP message flow defined
in [RFC 7540], Section 8.1.
|
InboundHttp2ToHttpAdapterBuilder |
Builds an
InboundHttp2ToHttpAdapter . |
InboundHttpToHttp2Adapter |
Translates HTTP/1.x object reads into HTTP/2 frames.
|
ReadOnlyHttp2Headers |
A variant of
Http2Headers which only supports read-only methods. |
StreamBufferingEncoder |
Implementation of a
Http2ConnectionEncoder that dispatches all method call to another
Http2ConnectionEncoder , until SETTINGS_MAX_CONCURRENT_STREAMS is reached. |
UniformStreamByteDistributor |
A
StreamByteDistributor that ignores stream priority and uniformly allocates bytes to all
streams. |
WeightedFairQueueByteDistributor |
A
StreamByteDistributor that is sensitive to stream priority and uses
Weighted Fair Queueing approach for distributing
bytes. |
枚举 | 说明 |
---|---|
HpackHeadersSize |
Enum that indicates the size of the headers to be used for the benchmark.
|
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
|
异常错误 | 说明 |
---|---|
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 specific
Http2FrameStream . |
Http2MultiplexActiveStreamsException |
Exception that can be used to wrap some Throwable and fire it through the pipeline. |
Http2NoMoreStreamIdsException |
This exception is thrown when there are no more stream IDs available for the current connection
|
StreamBufferingEncoder.Http2ChannelClosedException |
Thrown if buffered streams are terminated due to this encoder being closed.
|
StreamBufferingEncoder.Http2GoAwayException |
Thrown by
StreamBufferingEncoder if buffered streams are terminated due to
receipt of a GOAWAY . |
io.netty.handler.codec.http2
.