Package | Description |
---|---|
org.apache.hc.core5.http |
Core HTTP transport component APIs.
|
org.apache.hc.core5.http.impl.bootstrap |
HTTP/1.1 requester and server bootstrap.
|
org.apache.hc.core5.http.impl.io |
Default implementation of HTTP/1.1 transport based on the classic
(blocking) I/O model.
|
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.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.pool |
HTTP/2 specific pool component APIs.
|
org.apache.hc.core5.io |
Core I/O component APIs and utilities.
|
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.classic | |
org.apache.hc.core5.testing.nio |
Modifier and Type | Interface and Description |
---|---|
interface |
HttpConnection
A generic HTTP connection, useful on client and server side.
|
interface |
SocketModalCloseable
A generic
ModalCloseable backed by a network socket. |
Modifier and Type | Class and Description |
---|---|
class |
AsyncRequester
Protocol agnostic client side I/O session initiator.
|
class |
AsyncServer
Protocol agnostic server side I/O session handler.
|
class |
HttpAsyncRequester
HTTP/1.1 client side message exchange initiator.
|
class |
HttpAsyncServer
HTTP/1.1 server side message exchange handler.
|
class |
HttpRequester
HTTP/1.1 client side message exchange initiator.
|
class |
HttpServer
HTTP/1.1 server side message exchange handler.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultBHttpClientConnection
Default implementation of
HttpClientConnection . |
class |
DefaultBHttpServerConnection
Default implementation of
HttpServerConnection . |
Modifier and Type | Interface and Description |
---|---|
interface |
HttpConnectionEventHandler
IOEventHandler that also exposes HttpConnection properties. |
Modifier and Type | Class and Description |
---|---|
class |
ClientHttp1IOEventHandler
IOEventHandler that implements
client side HTTP/1.1 messaging protocol with full support for
duplexed message transmission and message pipelining. |
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 |
ServerHttp1IOEventHandler
IOEventHandler that implements
server side HTTP/1.1 messaging protocol with full support for
duplexed message transmission and message pipelining. |
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. |
Modifier and Type | Interface and Description |
---|---|
interface |
BHttpConnection
Abstract blocking HTTP connection interface.
|
interface |
HttpClientConnection
A client-side HTTP connection, which can be used for sending
requests and receiving responses.
|
interface |
HttpServerConnection
A server-side HTTP connection, which can be used for receiving
requests and sending responses.
|
Modifier and Type | Class and Description |
---|---|
class |
ClientH2IOEventHandler
IOEventHandler that implements
client side HTTP/2 messaging protocol with full support for
multiplexed message transmission. |
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 |
HttpProtocolNegotiator |
class |
ServerH2IOEventHandler
IOEventHandler that implements
server side HTTP/2 messaging protocol with full support for
multiplexed message transmission. |
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. |
Modifier and Type | Class and Description |
---|---|
class |
H2AsyncRequester
Client side message exchange initiator capable of negotiating
HTTP/2 or HTTP/1.1 compatible connections.
|
class |
H2MultiplexingRequester
HTTP/2 multiplexing client side message exchange initiator.
|
Modifier and Type | Class and Description |
---|---|
class |
H2ConnPool
Pool of HTTP/2 message multiplexing capable connections.
|
Modifier and Type | Method and Description |
---|---|
static void |
Closer.close(ModalCloseable closeable,
CloseMode closeMode)
Closes the given Closeable in a null-safe manner.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConnPool<T,C extends ModalCloseable>
ConnPool represents a shared pool connections can be leased from
and released back to. |
interface |
DisposalCallback<T extends ModalCloseable>
Represents a customizable disposal strategy for
ModalCloseable instances. |
class |
LaxConnPool<T,C extends ModalCloseable>
Connection pool with higher concurrency but with lax connection limit guarantees.
|
interface |
ManagedConnPool<T,C extends ModalCloseable>
|
class |
PoolEntry<T,C extends ModalCloseable>
Pool entry containing a pool connection object along with its route.
|
class |
StrictConnPool<T,C extends ModalCloseable>
Connection pool with strict connection limit guarantees.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ManagedConnPool<T,C extends ModalCloseable>
|
Modifier and Type | Class and Description |
---|---|
class |
LaxConnPool<T,C extends ModalCloseable>
Connection pool with higher concurrency but with lax connection limit guarantees.
|
class |
StrictConnPool<T,C extends ModalCloseable>
Connection pool with strict connection limit guarantees.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IOReactor
HttpCore NIO is based on the Reactor pattern as described by Doug Lea.
|
interface |
IOReactorService
IOReactor running as a service. |
interface |
IOSession
IOSession interface represents a sequence of logically related data exchanges
between two end points.
|
interface |
ListenerEndpoint
ListenerEndpoint interface represents an endpoint used by an I/O reactor
to listen for incoming connection from remote clients.
|
interface |
ProtocolIOSession
TLS capable, protocol upgradable
IOSession . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractIOSessionPool<T> |
class |
DefaultConnectingIOReactor
Multi-core I/O reactor that can act as
ConnectionInitiator Internally
this I/O reactor distributes newly created I/O session equally across multiple
I/O worker threads for a more optimal resource utilization and a better
I/O performance. |
class |
DefaultListeningIOReactor
Multi-core I/O reactor that can act as both
ConnectionInitiator
and ConnectionAcceptor . |
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 |
LoggingBHttpClientConnection |
class |
LoggingBHttpServerConnection |
Modifier and Type | Class and Description |
---|---|
class |
ClientSessionEndpoint
Client endpoint that can be used to initiate HTTP message exchanges.
|
class |
LoggingIOSession |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.