| 程序包 | 说明 |
|---|---|
| org.apache.hc.client5.http |
Client component APIs common to all client transports
such as connection route information and resolution
as well as common HTTP method definitions and
exception classes.
|
| org.apache.hc.client5.http.async |
HTTP client APIs based on the asynchronous, event driven I/O model.
|
| org.apache.hc.client5.http.auth |
Client HTTP authentication APIs.
|
| org.apache.hc.client5.http.classic |
HTTP client APIs based on the classic (blocking) I/O model.
|
| org.apache.hc.client5.http.config |
HTTP client configuration APIs.
|
| org.apache.hc.client5.http.cookie |
Client HTTP state management APIs.
|
| org.apache.hc.client5.http.entity |
Client specific HTTP entity implementations.
|
| org.apache.hc.client5.http.impl | |
| 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.auth |
Standard and common HTTP authentication schemes.
|
| 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.cookie |
Standard and common HTTP cookie management policies.
|
| 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.impl.routing |
Standard client connection routing API implementations.
|
| 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.client5.http.protocol |
HTTP protocol interceptors that enable advanced functionality
such as HTTP state management and authentication state caching.
|
| org.apache.hc.client5.http.psl |
Public Suffix List support classes.
|
| org.apache.hc.client5.http.routing |
Client connection routing APIs.
|
| org.apache.hc.client5.http.socket |
Client connection socket APIs.
|
| org.apache.hc.client5.http.ssl |
Client TLS/SSL support.
|
| org.apache.hc.core5.concurrent |
Core concurrency component APIs.
|
| org.apache.hc.core5.http |
Core HTTP transport component APIs.
|
| org.apache.hc.core5.http.config |
Core configuration APIs.
|
| org.apache.hc.core5.http.impl |
Default implementations of core HTTP APIs.
|
| 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.http.io.entity |
HTTP message entity APIs based on the classic (blocking) I/O model.
|
| org.apache.hc.core5.http.io.support |
Support classes for the classic (blocking) I/O model.
|
| org.apache.hc.core5.http.message |
Core HTTP message components, message element parser
and writer APIs and their default implementations.
|
| org.apache.hc.core5.http.nio |
Core HTTP transport APIs based on the asynchronous, event driven I/O model.
|
| org.apache.hc.core5.http.nio.entity |
HTTP message entity APIs based on the asynchronous (non-blocking) I/O model.
|
| org.apache.hc.core5.http.nio.support |
Support classes for the asynchronous I/O model.
|
| org.apache.hc.core5.http.nio.support.classic |
Support classes for the asynchronous I/O model that emulate
behavior of the classic (blocking) I/O model.
|
| org.apache.hc.core5.http.protocol |
Core HTTP protocol interceptors.
|
| org.apache.hc.core5.http2.config |
Core HTTP/2 configuration 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.nio.pool |
HTTP/2 specific pool component APIs.
|
| org.apache.hc.core5.http2.protocol |
HTTP/2 protocol interceptors.
|
| org.apache.hc.core5.net |
Core network 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.util |
Core utility classes.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
AuthenticationStrategy
Strategy to select auth schemes in order of preference based on auth challenges
presented by the opposite endpoint (target server or a proxy).
|
interface |
ConnectionKeepAliveStrategy
Interface for deciding how long a connection can remain
idle before being reused.
|
interface |
DnsResolver
Users may implement this interface to override the normal DNS lookup offered
by the OS.
|
interface |
HttpRequestRetryStrategy
Strategy interface that allows API users to plug in their own logic to
control whether or not a retry should automatically be done, how many times
it should be done and so on.
|
class |
HttpRoute
Connection route definition for HTTP requests.
|
interface |
SchemePortResolver
Strategy for default port resolution for protocol schemes.
|
interface |
UserTokenHandler
A handler for determining if the given execution context is user specific
or not.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
AsyncExecChain
Represents a single element in the client side asynchronous request execution chain.
|
interface |
AsyncExecChainHandler
Abstract request execution handler in an asynchronous client side request execution
chain.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AuthChallenge
This class represents an authentication challenge consisting of a auth scheme
and either a single parameter or a list of name / value pairs.
|
class |
AuthScope
AuthScope represents an authentication scope consisting of
an application protocol, a host name, a port number, a realm name
and an authentication scheme name. |
class |
BasicUserPrincipal
Basic username based principal representation.
|
class |
BearerToken
Opaque token
Credentials usually representing a set of claims, often encrypted
or signed. |
class |
KerberosConfig
已过时。
Do not use. The GGS based experimental authentication schemes are no longer
supported. Consider using Basic or Bearer authentication with TLS instead.
|
class |
KerberosCredentials
已过时。
Do not use. The GGS based experimental authentication schemes are no longer
supported. Consider using Basic or Bearer authentication with TLS instead.
|
class |
NTCredentials
已过时。
Do not use. the NTLM authentication scheme is no longer supported.
Consider using Basic or Bearer authentication with TLS instead.
|
class |
NTUserPrincipal
Microsoft Windows specific user principal implementation.
|
class |
UsernamePasswordCredentials
Simple
Credentials representation based on a user name / password
pair. |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ExecChain
Represents a single element in the client side classic request execution chain.
|
interface |
ExecChainHandler
Abstract request execution handler in a classic client side request execution chain.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ConnectionConfig
Immutable class encapsulating connection initialization and management settings.
|
class |
RequestConfig
Immutable class encapsulating request configuration items.
|
class |
TlsConfig
Immutable class encapsulating TLS protocol settings.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
BasicCookieStore
Default implementation of
CookieStore |
interface |
CookieAttributeHandler
This interface represents a cookie attribute handler responsible
for parsing, validating, and matching a specific cookie attribute,
such as path, domain, port, etc.
|
class |
CookieIdentityComparator
This cookie comparator can be used to compare identity of cookies.
|
class |
CookieOrigin
CookieOrigin class encapsulates details of an origin server that
are relevant when parsing, validating or matching HTTP cookies.
|
class |
CookiePathComparator
This cookie comparator ensures that multiple cookies satisfying
a common criteria are ordered in the
Cookie header such
that those with more specific Path attributes precede those with
less specific. |
class |
CookiePriorityComparator
This cookie comparator ensures that cookies with longer paths take precedence over
cookies with shorter path.
|
interface |
CookieSpecFactory
Factory for
CookieSpec implementations. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BrotliInputStreamFactory
InputStreamFactory for handling Brotli Content Coded responses. |
class |
DeflateInputStreamFactory
InputStreamFactory for handling Deflate Content Coded responses. |
class |
GZIPInputStreamFactory
InputStreamFactory for handling GZIPContent Coded responses. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultAuthenticationStrategy
Default implementation of
AuthenticationStrategy |
class |
DefaultClientConnectionReuseStrategy
Extension of core
DefaultConnectionReuseStrategy that treats
CONNECT method exchanges involved in proxy tunnelling as a special case. |
class |
DefaultConnectionKeepAliveStrategy
Default implementation of a strategy deciding duration
that a connection can remain idle.
|
class |
DefaultHttpRequestRetryStrategy
Default implementation of the
HttpRequestRetryStrategy interface. |
class |
DefaultRedirectStrategy
Default implementation of
RedirectStrategy. |
class |
DefaultSchemePortResolver
Default
SchemePortResolver. |
class |
DefaultUserTokenHandler
Default implementation of
UserTokenHandler. |
class |
IdleConnectionEvictor
This class maintains a background thread to enforce an eviction policy for expired / idle
persistent connections kept alive in the connection pool.
|
class |
InMemoryDnsResolver
In-memory
DnsResolver implementation. |
class |
NoopUserTokenHandler
Noop implementation of
UserTokenHandler that always returns null. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AsyncConnectExec
Request execution handler in the asynchronous request execution chain
that is responsible for establishing connection to the target
origin server as specified by the current connection route.
|
class |
AsyncHttpRequestRetryExec
Request executor in the asynchronous request execution chain that is
responsible for making a decision whether a request that failed due to
an I/O exception or received a specific response from the target server should
be re-executed.
|
class |
AsyncProtocolExec
Request execution handler in the asynchronous request execution chain
that is responsible for implementation of HTTP specification requirements.
|
class |
AsyncRedirectExec
Request execution handler in the asynchronous request execution chain
responsible for handling of request redirects.
|
class |
CloseableHttpAsyncClient
Base implementation of
HttpAsyncClient that also implements ModalCloseable. |
class |
H2AsyncMainClientExec
Usually the last HTTP/2 request execution handler in the asynchronous
request execution chain that is responsible for execution of
request / response exchanges with the opposite endpoint.
|
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 |
AuthCacheKeeper
Utility class that implements commons aspects of the client side authentication cache keeping.
|
class |
BasicAuthCache
Default implementation of
AuthCache. |
class |
BasicCredentialsProvider
Default implementation of
CredentialsStore. |
class |
BasicSchemeFactory
AuthSchemeFactory implementation that creates and initializes
BasicScheme instances. |
class |
BearerSchemeFactory
AuthSchemeFactory implementation that creates and initializes
BearerScheme instances. |
class |
DigestSchemeFactory
AuthSchemeFactory implementation that creates and initializes
DigestScheme instances. |
class |
HttpAuthenticator
Utility class that implements commons aspects of the client side HTTP authentication.
|
class |
KerberosSchemeFactory
已过时。
Do not use. The GGS based experimental authentication schemes are no longer
supported. Consider using Basic or Bearer authentication with TLS instead.
|
class |
NTLMSchemeFactory
已过时。
Do not use. the NTLM authentication scheme is no longer supported.
Consider using Basic or Bearer authentication with TLS instead.
|
class |
SPNegoSchemeFactory
已过时。
Do not use. The GGS based experimental authentication schemes are no longer
supported. Consider using Basic or Bearer authentication with TLS instead.
|
class |
SystemDefaultCredentialsProvider
Implementation of
CredentialsStore backed by standard
JRE Authenticator. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractHttpClientResponseHandler<T>
A generic
HttpClientResponseHandler that works with the response entity
for successful (2xx) responses. |
class |
AIMDBackoffManager
The
AIMDBackoffManager applies an additive increase,
multiplicative decrease (AIMD) to managing a dynamic limit to
the number of connections allowed to a given host. |
class |
BackoffStrategyExec
Request execution handler in the classic request execution chain
that is responsible for execution of an
ConnectionBackoffStrategy. |
class |
BasicHttpClientResponseHandler
A
HttpClientResponseHandler that returns
the response body as a String for successful (2xx) responses. |
class |
CloseableHttpClient
Base implementation of
HttpClient that also implements ModalCloseable. |
class |
ConnectExec
Request execution handler in the classic request execution chain
that is responsible for establishing connection to the target
origin server as specified by the current connection route.
|
class |
ContentCompressionExec
Request execution handler in the classic request execution chain
that is responsible for automatic response content decompression.
|
class |
FutureRequestExecutionService
This class schedules message execution execution and processing
as
FutureTasks with the provided ExecutorService. |
class |
HttpRequestRetryExec
Request executor in the request execution chain that is responsible for
making a decision whether a request that failed due to an I/O exception
or received a specific response from the target server should
be re-executed.
|
class |
LinearBackoffManager
An implementation of
BackoffManager that uses a linear backoff strategy to adjust the maximum number
of connections per route in an PoolingHttpClientConnectionManager. |
class |
MainClientExec
Usually the last request execution handler in the classic request execution
chain that is responsible for execution of request / response exchanges with
the opposite endpoint.
|
class |
MinimalHttpClient
Minimal implementation of
CloseableHttpClient. |
class |
ProtocolExec
Request execution handler in the classic request execution chain
that is responsible for implementation of HTTP specification requirements.
|
class |
RedirectExec
Request execution handler in the classic request execution chain
responsible for handling of request redirects.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractCookieAttributeHandler |
class |
AbstractCookieSpec
Abstract cookie specification which can delegate the job of parsing,
validation or matching cookie attributes to a number of arbitrary
CookieAttributeHandlers. |
class |
BasicDomainHandler
Cookie
domain attribute handler. |
class |
BasicExpiresHandler
Cookie
expires attribute handler. |
class |
BasicHttpOnlyHandler
Cookie
HttpOnly attribute handler. |
class |
BasicMaxAgeHandler
Cookie
max-age attribute handler. |
class |
BasicPathHandler
Cookie
path attribute handler. |
class |
BasicSecureHandler
Cookie
secure attribute handler. |
class |
CookieSpecBase
Cookie management functions shared by all specification.
|
class |
IgnoreCookieSpecFactory
CookieSpecFactory implementation that ignores all cookies. |
class |
IgnoreSpecSpec
CookieSpec that ignores all cookies
|
class |
LaxExpiresHandler
Cookie
expires attribute handler conformant to the more relaxed interpretation
of HTTP state management. |
class |
LaxMaxAgeHandler
Cookie
max-age attribute handler conformant to the more relaxed interpretation
of HTTP state management. |
class |
PublicSuffixDomainFilter
Wraps a
CookieAttributeHandler and leverages
its match method to never match a suffix from a black list. |
class |
RFC6265CookieSpec
Cookie management functions shared by RFC 6265 compliant specification.
|
class |
RFC6265CookieSpecFactory
CookieSpecFactory implementation that provides an instance of
RFC 6265 conformant cookie policy. |
class |
RFC6265LaxSpec
Standard
CookieSpec implementation that enforces
a more relaxed interpretation of the HTTP state management specification (RFC 6265, section 5)
for interoperability with existing servers that do not conform to the well behaved profile
(RFC 6265, section 4). |
class |
RFC6265StrictSpec
Standard
CookieSpec implementation
that enforces syntax and semantics of the well-behaved profile of the HTTP
state management specification (RFC 6265, section 4). |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BasicHttpClientConnectionManager
A connection manager for a single connection.
|
class |
DefaultHttpClientConnectionOperator
Default implementation of
HttpClientConnectionOperator used as default in Http client,
when no instance provided by user to BasicHttpClientConnectionManager or PoolingHttpClientConnectionManager constructor. |
class |
DefaultHttpResponseParserFactory
Default factory for response message parsers.
|
class |
ManagedHttpClientConnectionFactory
Factory for
ManagedHttpClientConnection instances. |
class |
PoolingHttpClientConnectionManager
ClientConnectionPoolManager maintains a pool of
ManagedHttpClientConnections and is able to service connection requests
from multiple execution threads. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
MultihomeConnectionInitiator
Multi-home DNS aware implementation of
ConnectionInitiator. |
class |
PoolingAsyncClientConnectionManager
PoolingAsyncClientConnectionManager maintains a pool of non-blocking
HttpConnections and is able to service
connection requests from multiple execution threads. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BasicRouteDirector
Basic
HttpRouteDirector implementation. |
class |
DefaultProxyRoutePlanner
Implementation of an
HttpRoutePlanner
that routes requests through a default proxy. |
class |
DefaultRoutePlanner
Default implementation of an
HttpRoutePlanner. |
class |
DistributedProxySelector
A DistributedProxySelector is a custom
ProxySelector implementation that
delegates proxy selection to a list of underlying ProxySelectors in a
distributed manner. |
class |
SystemDefaultRoutePlanner
HttpRoutePlanner implementation
based on ProxySelector. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ConnectionEndpoint
Client endpoint leased from a connection manager.
|
interface |
HttpClientConnectionOperator
Connection operator that performs connection connect and upgrade operations.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
AsyncClientConnectionManager
Represents a manager of persistent non-blocking client connections.
|
interface |
AsyncClientConnectionOperator
Connection operator that performs connection connect and upgrade operations.
|
class |
AsyncConnectionEndpoint
Client connection endpoint that can be used to execute message exchanges.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
RedirectStrategy
A strategy for determining if an HTTP request should be redirected to
a new location in response to an HTTP response received from the target
server.
|
class |
RequestAddCookies
Request interceptor that matches cookies available in the current
CookieStore to the request being executed and generates
corresponding Cookie request headers. |
class |
RequestAuthCache
已过时。
Do not use.
|
class |
RequestClientConnControl
This protocol interceptor is responsible for adding the
Connection
header to the outgoing requests, which is essential for managing persistence
of HTTP/1.0 connections. |
class |
RequestDefaultHeaders
Request interceptor that adds default request headers.
|
class |
RequestExpectContinue
RequestExpectContinue is responsible for enabling the 'expect-continue'
handshake by adding
Expect header. |
class |
ResponseProcessCookies
Response interceptor that populates the current
CookieStore with data
contained in response cookies received in the given the HTTP response. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
PublicSuffixList
Public suffix is a set of DNS names or wildcards concatenated with dots.
|
class |
PublicSuffixListParser
Parses the list from publicsuffix.org
and configures a PublicSuffixFilter.
|
class |
PublicSuffixMatcher
Utility class that can test if DNS names match the content of the Public Suffix List.
|
class |
PublicSuffixMatcherLoader
PublicSuffixMatcher loader. |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
HttpRouteDirector
Provides directions on establishing a route.
|
interface |
HttpRoutePlanner
Encapsulates logic to compute a
HttpRoute to a target host. |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ConnectionSocketFactory
A factory for creating and connecting connection sockets.
|
interface |
LayeredConnectionSocketFactory
Extended
ConnectionSocketFactory interface for layered sockets such as SSL/TLS. |
class |
PlainConnectionSocketFactory
The default class for creating plain (unencrypted) sockets.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
ConscryptClientTlsStrategy
TLS upgrade strategy for non-blocking client connections using Conscrypt TLS library.
|
class |
DefaultClientTlsStrategy
TLS upgrade strategy for non-blocking client connections.
|
class |
DefaultHostnameVerifier
Default
HostnameVerifier implementation. |
interface |
HttpClientHostnameVerifier
Extended
HostnameVerifier interface. |
class |
NoopHostnameVerifier
The NO_OP HostnameVerifier essentially turns hostname verification
off.
|
class |
SSLConnectionSocketFactory
Layered socket factory for TLS/SSL connections.
|
class |
TrustAllStrategy
A trust strategy that accepts all certificates as trusted.
|
class |
TrustSelfSignedStrategy
A trust strategy that accepts self-signed certificates as trusted.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
CompletedFuture<T>
Immutable, completed future.
|
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ConnectionReuseStrategy
Interface for deciding whether a connection can be re-used for
subsequent requests and should be kept alive.
|
interface |
ContentLengthStrategy
Represents a strategy to determine length of the enclosed content entity
based on properties of the HTTP message.
|
class |
ContentType
Content type information consisting of a MIME type and an optional charset.
|
interface |
ExceptionListener |
class |
HttpHost
Component that holds all details needed to describe an HTTP connection
to a host.
|
interface |
HttpRequestInterceptor
HTTP protocol interceptor is a routine that implements a specific aspect of
the HTTP protocol.
|
interface |
HttpResponseInterceptor
HTTP protocol interceptor is a routine that implements a specific aspect of
the HTTP protocol.
|
class |
HttpVersion
Represents an HTTP version.
|
class |
ProtocolVersion
Represents a protocol version.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
CharCodingConfig
HTTP/1.1 char coding configuration.
|
class |
Http1Config
HTTP/1.1 protocol parameters.
|
class |
Registry<I>
Generic registry of items keyed by low-case string ID.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultConnectionReuseStrategy
Default implementation of a strategy deciding about connection re-use.
|
class |
DefaultContentLengthStrategy
The default implementation of the content length strategy.
|
class |
EnglishReasonPhraseCatalog
English reason phrases for HTTP status codes.
|
interface |
Http1StreamListener
HTTP/1.1 stream event listener.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultBHttpClientConnectionFactory
Default factory for
HttpClientConnections. |
class |
DefaultBHttpServerConnectionFactory
Default factory for
HttpServerConnections. |
class |
DefaultClassicHttpRequestFactory
Default factory for creating
ClassicHttpRequest objects. |
class |
DefaultClassicHttpResponseFactory
Default factory for creating
ClassicHttpResponse objects. |
class |
DefaultHttpRequestParserFactory
Default factory for request message parsers.
|
class |
DefaultHttpRequestWriterFactory
Default factory for request message writers.
|
class |
DefaultHttpResponseParserFactory
Default factory for response message parsers.
|
class |
DefaultHttpResponseWriterFactory
Default factory for response message writers.
|
class |
HttpRequestExecutor
HttpRequestExecutor is a client side HTTP protocol handler based
on the blocking (classic) I/O model. |
class |
HttpService
HttpService is a server side HTTP protocol handler based on
the classic (blocking) I/O model. |
class |
MonitoringResponseOutOfOrderStrategy
A
ResponseOutOfOrderStrategy implementation which checks for premature responses every MonitoringResponseOutOfOrderStrategy.chunkSize
bytes. |
class |
NoResponseOutOfOrderStrategy
An implementation of
ResponseOutOfOrderStrategy which does not check for early responses. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ClientHttp1IOEventHandlerFactory
ClientHttp1IOEventHandler factory. |
class |
ClientHttp1StreamDuplexerFactory
ClientHttp1StreamDuplexer factory. |
class |
DefaultHttpRequestFactory
Default factory for creating
HttpRequest objects. |
class |
DefaultHttpRequestParserFactory
Default factory for request message parsers.
|
class |
DefaultHttpRequestWriterFactory
Default factory for request message writers.
|
class |
DefaultHttpResponseFactory
Default factory for creating
HttpResponse objects. |
class |
DefaultHttpResponseParserFactory
Default factory for response message parsers.
|
class |
DefaultHttpResponseWriterFactory
Default factory for response message writers.
|
class |
ServerHttp1IOEventHandlerFactory
ServerHttp1IOEventHandler factory. |
class |
ServerHttp1StreamDuplexerFactory
ServerHttp1StreamDuplexer factory. |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
HttpFilterChain
HttpFilterChain represents a single element in the server side request processing chain.
|
interface |
HttpFilterHandler
HttpFilterHandler represents a routine for handling all incoming requests
in the server side request processing chain.
|
interface |
HttpServerRequestHandler
HttpServerRequestHandler represents a routine for processing of a specific group
of HTTP requests.
|
class |
SocketConfig
Classic I/O network socket configuration.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
BasicHttpEntity
A generic streamed, non-repeatable entity that obtains its content from an
InputStream. |
class |
ByteArrayEntity
A self contained, repeatable entity that obtains its content from a byte array.
|
class |
EntityTemplate
Entity that delegates the process of content generation to a
IOCallback
with OutputStream as output sink. |
class |
FileEntity
A self contained, repeatable entity that obtains its content from a file.
|
class |
HttpEntityWrapper
Base class for wrapping entities that delegates all calls to the wrapped entity.
|
class |
NullEntity
An empty entity with no content-type.
|
class |
PathEntity
A self contained, repeatable entity that obtains its content from a path.
|
class |
SerializableEntity
A streamed entity that obtains its content from a
Serializable. |
class |
StringEntity
A self contained, repeatable entity that obtains its content from a
String. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractHttpServerAuthFilter<T>
Abstract HTTP request filter that implements standard HTTP authentication handshake.
|
class |
HttpServerExpectationFilter
HttpServerExpectationFilter add support for the Expect-Continue handshake
to the request processing pipeline.
|
class |
TerminalServerFilter
HttpFilterHandler implementation represents a terminal handler
in a request processing pipeline that makes use of HttpRequestMapper
to dispatch the request to a particular HttpRequestHandler. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BasicHeader
Immutable
Header. |
class |
BasicHeaderValueFormatter
Default
HeaderValueFormatter implementation. |
class |
BasicHeaderValueParser
Default
HeaderValueParser implementation. |
class |
BasicLineFormatter
Default
LineFormatter implementation. |
class |
BasicLineParser
Default
LineParser implementation. |
class |
BasicNameValuePair
Basic implementation of
NameValuePair. |
class |
LazyLineParser
Extension of
BasicLineParser that defers parsing of
header values. |
class |
RequestLine
HTTP/1.1 request line.
|
class |
StatusLine
HTTP/1.1 status line.
|
class |
TokenParser
已过时。
Use
Tokenizer |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AsyncClientEndpoint
Client endpoint leased from a connection manager.
|
interface |
AsyncFilterChain
AsyncFilterChain represents a single element in the server side request processing chain.
|
interface |
AsyncFilterHandler
AsyncFilterHandler represents a routine for handling all incoming requests
in the server side request processing chain.
|
interface |
AsyncServerRequestHandler<T>
AsyncServerRequestHandler represents a routine for processing of a specific group
of HTTP requests.
|
interface |
CapacityChannel
Abstract capacity update channel.
|
interface |
DataStreamChannel
Abstract byte stream channel
Implementations are expected to be thread-safe.
|
interface |
RequestChannel
Abstract request channel.
|
interface |
ResourceHolder
Abstract resource holder.
|
interface |
ResponseChannel
Abstract response / response promise channel.
|
interface |
StreamChannel<T extends Buffer>
Abstract data stream channel.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractBinAsyncEntityProducer
Abstract binary entity content producer.
|
class |
AbstractCharAsyncEntityProducer
Abstract text entity content producer.
|
class |
AsyncEntityProducerWrapper
Base class for wrapping entity producers that delegates all calls to the wrapped producer.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractAsyncServerAuthFilter<T>
Abstract asynchronous HTTP request filter that implements standard HTTP authentication handshake.
|
class |
AsyncServerExpectationFilter |
class |
TerminalAsyncServerFilter
AsyncFilterHandler implementation represents a terminal handler
in an asynchronous request processing pipeline that makes use of HandlerFactory
to dispatch the request to a particular AsyncServerExchangeHandler. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
SharedInputBuffer |
class |
SharedOutputBuffer |
| 限定符和类型 | 类和说明 |
|---|---|
class |
BasicHttpContext
Default implementation of
HttpContext. |
class |
DefaultHttpProcessor
Default immutable implementation of
HttpProcessor. |
class |
HttpDateGenerator
Generates a date in the format required by the HTTP protocol.
|
interface |
HttpProcessor
HTTP protocol processor is a collection of protocol interceptors that
implements the 'Chain of Responsibility' pattern, where each individual
protocol interceptor is expected to work on a particular aspect of the HTTP
protocol the interceptor is responsible for.
|
class |
RequestConnControl
RequestConnControl is responsible for adding
Connection header
to the outgoing requests, which is essential for managing persistence of
HTTP/1.0 connections. |
class |
RequestContent
RequestContent is the most important interceptor for outgoing requests.
|
class |
RequestDate
RequestDate interceptor is responsible for adding
Date header
to the outgoing requests This interceptor is optional for client side
protocol processors. |
class |
RequestExpectContinue
RequestExpectContinue is responsible for enabling the 'expect-continue'
handshake by adding
Expect header. |
class |
RequestHandlerRegistry<T>
Generic registry of request handlers that can be resolved by properties of request messages.
|
class |
RequestTargetHost
RequestHostOutgoing is responsible for adding
Host header to the outgoing message. |
class |
RequestUserAgent
RequestUserAgent is responsible for adding
User-Agent header. |
class |
RequestValidateHost
RequestTargetHost is responsible for copying
Host header value to
HttpRequest.setAuthority(URIAuthority) of the incoming message. |
class |
ResponseConnControl
ResponseConnControl is responsible for adding
Connection header
to the outgoing responses, which is essential for managing persistence of
HTTP/1.0 connections. |
class |
ResponseContent
ResponseContent is the most important interceptor for outgoing responses.
|
class |
ResponseDate
ResponseDate is responsible for adding
Date header to the
outgoing responses. |
class |
ResponseServer
ResponseServer is responsible for adding
Server header. |
class |
UriPatternMatcher<T>
Maintains a map of objects keyed by a request URI pattern.
|
class |
UriPatternOrderedMatcher<T>
Maintains a map of objects keyed by a request URI pattern.
|
class |
UriRegexMatcher<T>
Maintains a map of objects keyed by a request URI regular expression.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
H2Config
HTTP/2 protocol configuration.
|
| 限定符和类型 | 类和说明 |
|---|---|
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 |
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.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
H2ConnPool
Pool of HTTP/2 message multiplexing capable connections.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
H2RequestConnControl
HTTP/2 compatible extension of
RequestConnControl. |
class |
H2RequestContent
HTTP/2 compatible extension of
RequestContent. |
class |
H2RequestTargetHost
HTTP/2 compatible extension of
RequestTargetHost. |
class |
H2RequestValidateHost
HTTP/2 compatible extension of
RequestValidateHost. |
class |
H2ResponseConnControl
HTTP/2 compatible extension of
ResponseConnControl. |
class |
H2ResponseContent
HTTP/2 compatible extension of
ResponseContent. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
Host
Component that holds all details needed to describe a network connection
to a host.
|
class |
URIAuthority
Represents authority component of request
URI. |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ConnPoolListener<T>
Connection pool event listener.
|
class |
LaxConnPool<T,C extends ModalCloseable>
Connection pool with higher concurrency but with lax connection limit guarantees.
|
class |
PoolStats
Pool statistics.
|
class |
StrictConnPool<T,C extends ModalCloseable>
Connection pool with strict connection limit guarantees.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractIOSessionPool<T> |
class |
IOReactorConfig
I/O reactor configuration parameters.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
SSLIOSession
SSLIOSession is a decorator class intended to transparently extend
an IOSession with transport layer security capabilities based on
the SSL/TLS protocol. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
Timeout
Represents a timeout value as a non-negative
long time and TimeUnit. |
class |
TimeValue
Represents a time value as a
long time and a TimeUnit. |
class |
Tokenizer
Tokenizer that can be used as a foundation for more complex parsing routines.
|
Copyright © 2023. All rights reserved.