Package | Description |
---|---|
org.apache.hc.core5.http |
Core HTTP transport component APIs.
|
org.apache.hc.core5.http.impl |
Default implementations of core HTTP APIs.
|
org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
org.apache.hc.core5.http.impl.nio |
Default implementation of HTTP/1.1 transport based on
the asynchronous (non-blocking) I/O model.
|
org.apache.hc.core5.http.io |
Core HTTP transport APIs based on the classic (blocking) I/O model.
|
org.apache.hc.core5.http.nio.command |
Commands for HTTP transports based on asynchronous, event driven I/O model.
|
org.apache.hc.core5.http.nio.ssl |
TLS protocol support.
|
org.apache.hc.core5.http2.frame |
Core HTTP/2 data frame APIs.
|
org.apache.hc.core5.http2.hpack |
HTTP/2 HPACK APIs.
|
org.apache.hc.core5.http2.impl.nio |
Default implementation of HTTP/2 transport based on
the asynchronous (non-blocking) I/O model.
|
org.apache.hc.core5.http2.impl.nio.bootstrap |
HTTP/2 capable requester and server bootstrap.
|
org.apache.hc.core5.http2.nio.command |
HTTP/2 specific commands for HTTP/2 transport based
on asynchronous, event driven I/O model.
|
org.apache.hc.core5.pool |
Client side connection pool component APIs.
|
org.apache.hc.core5.reactor |
Event driven network communication APIs and components loosely based on
Doug Lea's
reactor pattern.
|
org.apache.hc.core5.reactor.ssl |
TLS/SSL support for I/O reactors.
|
org.apache.hc.core5.testing.nio | |
org.apache.hc.core5.testing.reactive | |
org.apache.hc.core5.util |
Core utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
RequestNotExecutedException
ConnectionClosedException subclass that signals requests cannot not be executed
due to the connection being closed. |
Modifier and Type | Interface and Description |
---|---|
interface |
Http1StreamListener
HTTP/1.1 stream event listener.
|
class |
IncomingEntityDetails
HTTP message entity details.
|
class |
ServerSupport
HTTP Server support methods.
|
Constructor and Description |
---|
AsyncRequester(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
Callback<IOSession> sessionShutdownCallback,
Resolver<HttpHost,InetSocketAddress> addressResolver) |
AsyncServer(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
Callback<IOSession> sessionShutdownCallback) |
HttpAsyncRequester(IOReactorConfig ioReactorConfig,
IOEventHandlerFactory eventHandlerFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
ManagedConnPool<HttpHost,IOSession> connPool)
Use
AsyncRequesterBootstrap to create instances of this class. |
HttpAsyncRequester(IOReactorConfig ioReactorConfig,
IOEventHandlerFactory eventHandlerFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
ManagedConnPool<HttpHost,IOSession> connPool,
TlsStrategy tlsStrategy,
Timeout handshakeTimeout)
Use
AsyncRequesterBootstrap to create instances of this class. |
HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener)
Use
AsyncServerBootstrap to create instances of this class. |
HttpAsyncServer(IOEventHandlerFactory eventHandlerFactory,
IOReactorConfig ioReactorConfig,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
String canonicalName)
Use
AsyncServerBootstrap to create instances of this class. |
HttpRequester(HttpRequestExecutor requestExecutor,
HttpProcessor httpProcessor,
ManagedConnPool<HttpHost,HttpClientConnection> connPool,
SocketConfig socketConfig,
HttpConnectionFactory<? extends HttpClientConnection> connectFactory,
SSLSocketFactory sslSocketFactory,
Callback<SSLParameters> sslSetupHandler,
SSLSessionVerifier sslSessionVerifier,
Resolver<HttpHost,InetSocketAddress> addressResolver)
Use
RequesterBootstrap to create instances of this class. |
HttpServer(int port,
HttpService httpService,
InetAddress ifAddress,
SocketConfig socketConfig,
ServerSocketFactory serverSocketFactory,
HttpConnectionFactory<? extends DefaultBHttpServerConnection> connectionFactory,
Callback<SSLParameters> sslSetupHandler,
ExceptionListener exceptionListener) |
Modifier and Type | Class and Description |
---|---|
class |
ClientHttp1StreamDuplexer
I/O event handler for events fired by
ProtocolIOSession that implements
client side HTTP/1.1 messaging protocol with full support for
duplexed message transmission and message pipelining. |
class |
ClientHttp1StreamDuplexerFactory
ClientHttp1StreamDuplexer factory. |
class |
ExpandableBuffer
A buffer that expand its capacity on demand.
|
interface |
HttpConnectionEventHandler
IOEventHandler that also exposes HttpConnection properties. |
class |
ServerHttp1StreamDuplexer
I/O event handler for events fired by
ProtocolIOSession that implements
server side HTTP/1.1 messaging protocol with full support for
duplexed message transmission and message pipelining. |
class |
ServerHttp1StreamDuplexerFactory
ServerHttp1StreamDuplexer factory. |
Modifier and Type | Interface and Description |
---|---|
interface |
ResponseOutOfOrderStrategy
Represents a strategy to determine how frequently the client should check for an out of order response.
|
Modifier and Type | Class and Description |
---|---|
class |
CommandSupport
Command utility methods. |
class |
ExecutableCommand
Abstract executable command that may need to do some cleaning up
in case of an failure and also optionally may want to cancel
the associated HTTP message exchange through
CancellableDependency . |
class |
RequestExecutionCommand
Request execution command.
|
Modifier and Type | Interface and Description |
---|---|
interface |
TlsUpgradeCapable
Capability to upgrade to TLS.
|
Modifier and Type | Class and Description |
---|---|
class |
FramePrinter |
Modifier and Type | Class and Description |
---|---|
class |
HPackDecoder
HPACK decoder.
|
class |
HPackEncoder
HPACK encoder.
|
class |
Huffman
This Huffman codec implementation has been derived from Twitter HPack project
(https://github.com/twitter/hpack)
|
Modifier and Type | Class and Description |
---|---|
class |
ClientH2PrefaceHandler
I/O event handler for events fired by
ProtocolIOSession that implements
client side of the HTTP/2 protocol negotiation handshake always forcing the choice
of HTTP/2. |
class |
ClientH2StreamMultiplexer
I/O event handler for events fired by
ProtocolIOSession that implements
client side HTTP/2 messaging protocol with full support for
multiplexed message transmission. |
class |
ClientH2StreamMultiplexerFactory
ClientH2StreamMultiplexer factory. |
class |
ClientH2UpgradeHandler
Protocol upgrade handler that upgrades the underlying
ProtocolIOSession
to HTTP/2 in case of a successful protocol negotiation. |
class |
ClientHttp1UpgradeHandler
Protocol upgrade handler that upgrades the underlying
ProtocolIOSession
to HTTP/1.1 in case of a successful protocol negotiation or as a default fall-back. |
class |
ClientHttpProtocolNegotiationStarter
Client I/O event starter that prepares I/O sessions for an initial protocol handshake.
|
interface |
H2StreamListener
HTTP/2 stream event listener.
|
class |
HttpProtocolNegotiator |
class |
ServerH2PrefaceHandler
I/O event handler for events fired by
ProtocolIOSession that implements
server side of the HTTP/2 protocol negotiation handshake. |
class |
ServerH2StreamMultiplexer
I/O event handler for events fired by
ProtocolIOSession that implements
server side HTTP/2 messaging protocol with full support for
multiplexed message transmission. |
class |
ServerH2StreamMultiplexerFactory
ServerH2StreamMultiplexer factory. |
class |
ServerH2UpgradeHandler
Protocol upgrade handler that upgrades the underlying
ProtocolIOSession
to HTTP/2 in case of a successful protocol negotiation. |
class |
ServerHttp1UpgradeHandler
Protocol upgrade handler that upgrades the underlying
ProtocolIOSession
to HTTP/1.1 in case of a successful protocol negotiation or as a default fall-back. |
class |
ServerHttpProtocolNegotiationStarter
Server I/O event starter that prepares I/O sessions for an initial protocol handshake.
|
Constructor and Description |
---|
H2AsyncRequester(HttpVersionPolicy versionPolicy,
IOReactorConfig ioReactorConfig,
IOEventHandlerFactory eventHandlerFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
ManagedConnPool<HttpHost,IOSession> connPool)
Use
H2RequesterBootstrap to create instances of this class. |
H2AsyncRequester(HttpVersionPolicy versionPolicy,
IOReactorConfig ioReactorConfig,
IOEventHandlerFactory eventHandlerFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
ManagedConnPool<HttpHost,IOSession> connPool,
TlsStrategy tlsStrategy,
Timeout handshakeTimeout)
Use
H2RequesterBootstrap to create instances of this class. |
H2MultiplexingRequester(IOReactorConfig ioReactorConfig,
IOEventHandlerFactory eventHandlerFactory,
Decorator<IOSession> ioSessionDecorator,
Callback<Exception> exceptionCallback,
IOSessionListener sessionListener,
Resolver<HttpHost,InetSocketAddress> addressResolver,
TlsStrategy tlsStrategy)
Use
H2MultiplexingRequesterBootstrap to create instances of this class. |
Modifier and Type | Class and Description |
---|---|
class |
PingCommand
HTTP/2 ping command.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDisposalCallback<T extends SocketModalCloseable>
Default implementation of
DisposalCallback . |
interface |
DisposalCallback<T extends ModalCloseable>
Represents a customizable disposal strategy for
ModalCloseable instances. |
Modifier and Type | Class and Description |
---|---|
class |
EndpointParameters
Endpoint initialization parameters
|
interface |
IOEventHandler
IOEventHandler interface is used by I/O reactors to handle I/O events for individual
I/O sessions.
|
interface |
IOEventHandlerFactory
Factory interface to create
IOEventHandler instances for the given connected endpoints. |
interface |
IOSession
IOSession interface represents a sequence of logically related data exchanges
between two end points.
|
interface |
IOSessionListener
IOSession event listener. |
interface |
ProtocolUpgradeHandler
Application protocol upgrade handler.
|
Modifier and Type | Class and Description |
---|---|
class |
SSLIOSession
SSLIOSession is a decorator class intended to transparently extend
an IOSession with transport layer security capabilities based on
the SSL/TLS protocol. |
Modifier and Type | Class and Description |
---|---|
class |
LoggingIOSession |
class |
LoggingIOSessionDecorator |
Modifier and Type | Class and Description |
---|---|
class |
Reactive3TestUtils |
Modifier and Type | Class and Description |
---|---|
class |
ReflectionUtils |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.