| 程序包 | 说明 |
|---|---|
| org.apache.hc.client5.http.impl.async |
Asynchronous HTTP client API implementation that supports both
HTTP/2 and HTTP/1.1 transport.
|
| org.apache.hc.client5.http.impl.classic |
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
|
| org.apache.hc.client5.http.impl.io |
Client connection management functions based the classic
connection management APIs.
|
| org.apache.hc.client5.http.impl.nio |
Client connection management functions based the asynchronous
connection management APIs.
|
| org.apache.hc.client5.http.io |
Connection management APIs based on the classic (blocking) I/O model.
|
| org.apache.hc.client5.http.nio |
Connection management APIs based on the asynchronous I/O model.
|
| 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.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
CloseableHttpAsyncClient
Base implementation of
HttpAsyncClient that also implements ModalCloseable. |
class |
InternalH2AsyncClient
Internal implementation of HTTP/2 only
CloseableHttpAsyncClient. |
class |
InternalHttpAsyncClient
Internal implementation of
CloseableHttpAsyncClient that can negotiate
the most optimal HTTP protocol version during during the TLS handshake
with ALPN extension if supported by the Java runtime. |
class |
MinimalH2AsyncClient
Minimal implementation of HTTP/2 only
CloseableHttpAsyncClient. |
class |
MinimalHttpAsyncClient
Minimal implementation of
CloseableHttpAsyncClient. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CloseableHttpClient
Base implementation of
HttpClient that also implements ModalCloseable. |
class |
MinimalHttpClient
Minimal implementation of
CloseableHttpClient. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BasicHttpClientConnectionManager
A connection manager for a single connection.
|
class |
PoolingHttpClientConnectionManager
ClientConnectionPoolManager maintains a pool of
ManagedHttpClientConnections and is able to service connection requests
from multiple execution threads. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
PoolingAsyncClientConnectionManager
PoolingAsyncClientConnectionManager maintains a pool of non-blocking
HttpConnections and is able to service
connection requests from multiple execution threads. |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
HttpClientConnectionManager
Represents a manager of persistent client connections.
|
interface |
ManagedHttpClientConnection
Represents a managed connection whose state and life cycle is managed by
a connection manager.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ConnectionEndpoint
Client endpoint leased from a connection manager.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
AsyncClientConnectionManager
Represents a manager of persistent non-blocking client connections.
|
interface |
ManagedAsyncClientConnection
Represents a managed asynchronous connection whose state and life cycle
is managed by a connection manager.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AsyncConnectionEndpoint
Client connection endpoint that can be used to execute message exchanges.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
HttpConnection
A generic HTTP connection, useful on client and server side.
|
interface |
SocketModalCloseable
A generic
ModalCloseable backed by a network socket. |
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultBHttpClientConnection
Default implementation of
HttpClientConnection. |
class |
DefaultBHttpServerConnection
Default implementation of
HttpServerConnection. |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
HttpConnectionEventHandler
IOEventHandler that also exposes HttpConnection properties. |
| 限定符和类型 | 类和说明 |
|---|---|
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. |
| 限定符和类型 | 接口和说明 |
|---|---|
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
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. |
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
H2ConnPool
Pool of HTTP/2 message multiplexing capable connections.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
Closer.close(ModalCloseable closeable,
CloseMode closeMode)
Closes the given Closeable in a null-safe manner.
|
| 限定符和类型 | 接口和说明 |
|---|---|
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.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ManagedConnPool<T,C extends ModalCloseable>
|
| 限定符和类型 | 类和说明 |
|---|---|
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.
|
| 限定符和类型 | 接口和说明 |
|---|---|
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. |
| 限定符和类型 | 类和说明 |
|---|---|
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. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SSLIOSession
SSLIOSession is a decorator class intended to transparently extend
an IOSession with transport layer security capabilities based on
the SSL/TLS protocol. |
Copyright © 2023. All rights reserved.