Package org.apache.hc.core5.http2.impl.nio
Default implementation of HTTP/2 transport based on
the asynchronous (non-blocking) I/O model.
-
Interface Summary Interface Description H2StreamListener HTTP/2 stream event listener. -
Class Summary Class Description ClientH2IOEventHandler IOEventHandlerthat implements client side HTTP/2 messaging protocol with full support for multiplexed message transmission.ClientH2PrefaceHandler I/O event handler for events fired byProtocolIOSessionthat implements client side of the HTTP/2 protocol negotiation handshake always forcing the choice of HTTP/2.ClientH2StreamMultiplexer I/O event handler for events fired byProtocolIOSessionthat implements client side HTTP/2 messaging protocol with full support for multiplexed message transmission.ClientH2StreamMultiplexerFactory ClientH2StreamMultiplexerfactory.ClientH2UpgradeHandler Protocol upgrade handler that upgrades the underlyingProtocolIOSessionto HTTP/2 in case of a successful protocol negotiation.ClientHttp1UpgradeHandler Protocol upgrade handler that upgrades the underlyingProtocolIOSessionto HTTP/1.1 in case of a successful protocol negotiation or as a default fall-back.ClientHttpProtocolNegotiationStarter Client I/O event starter that prepares I/O sessions for an initial protocol handshake.FrameInputBuffer Frame input buffer for HTTP/2 non-blocking connections.FrameOutputBuffer Frame output buffer for HTTP/2 non-blocking connections.HttpProtocolNegotiator ServerH2IOEventHandler IOEventHandlerthat implements server side HTTP/2 messaging protocol with full support for multiplexed message transmission.ServerH2PrefaceHandler I/O event handler for events fired byProtocolIOSessionthat implements server side of the HTTP/2 protocol negotiation handshake.ServerH2StreamMultiplexer I/O event handler for events fired byProtocolIOSessionthat implements server side HTTP/2 messaging protocol with full support for multiplexed message transmission.ServerH2StreamMultiplexerFactory ServerH2StreamMultiplexerfactory.ServerH2UpgradeHandler Protocol upgrade handler that upgrades the underlyingProtocolIOSessionto HTTP/2 in case of a successful protocol negotiation.ServerHttp1UpgradeHandler Protocol upgrade handler that upgrades the underlyingProtocolIOSessionto HTTP/1.1 in case of a successful protocol negotiation or as a default fall-back.ServerHttpProtocolNegotiationStarter Server I/O event starter that prepares I/O sessions for an initial protocol handshake. -
Exception Summary Exception Description ProtocolNegotiationException Signals a protocol error in HTTP protocol negotiation.