| 程序包 | 说明 |
|---|---|
| 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.core5.http.config |
Core configuration 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.bootstrap |
HTTP/2 capable requester and server bootstrap.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static MinimalHttpAsyncClient |
HttpAsyncClients.createMinimal(H2Config h2Config,
Http1Config h1Config)
Creates
MinimalHttpAsyncClient instance optimized for
HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
functionality. |
static MinimalHttpAsyncClient |
HttpAsyncClients.createMinimal(H2Config h2Config,
Http1Config h1Config,
IOReactorConfig ioReactorConfig)
Creates
MinimalHttpAsyncClient instance optimized for
HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
functionality. |
static MinimalHttpAsyncClient |
HttpAsyncClients.createMinimal(H2Config h2Config,
Http1Config h1Config,
IOReactorConfig ioReactorConfig,
AsyncClientConnectionManager connmgr)
Creates
MinimalHttpAsyncClient instance optimized for
HTTP/1.1 and HTTP/2 message transport without advanced HTTP protocol
functionality. |
static MinimalHttpAsyncClient |
HttpAsyncClients.createMinimal(HttpVersionPolicy versionPolicy,
H2Config h2Config,
Http1Config h1Config,
IOReactorConfig ioReactorConfig)
|
static MinimalHttpAsyncClient |
HttpAsyncClients.createMinimal(HttpVersionPolicy versionPolicy,
H2Config h2Config,
Http1Config h1Config,
IOReactorConfig ioReactorConfig,
AsyncClientConnectionManager connmgr)
|
HttpAsyncClientBuilder |
HttpAsyncClientBuilder.setHttp1Config(Http1Config h1Config)
Sets
Http1Config configuration. |
| 构造器和说明 |
|---|
ProxyClient(HttpConnectionFactory<ManagedHttpClientConnection> connFactory,
Http1Config h1Config,
CharCodingConfig charCodingConfig,
RequestConfig requestConfig) |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpMessageParser<ClassicHttpResponse> |
DefaultHttpResponseParserFactory.create(Http1Config h1Config) |
ManagedHttpClientConnectionFactory.Builder |
ManagedHttpClientConnectionFactory.Builder.http1Config(Http1Config http1Config) |
| 限定符和类型 | 字段和说明 |
|---|---|
static Http1Config |
Http1Config.DEFAULT |
| 限定符和类型 | 方法和说明 |
|---|---|
Http1Config |
Http1Config.Builder.build() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Http1Config.Builder |
Http1Config.copy(Http1Config config) |
| 限定符和类型 | 方法和说明 |
|---|---|
ServerBootstrap |
ServerBootstrap.setHttp1Config(Http1Config http1Config)
Sets connection configuration.
|
AsyncRequesterBootstrap |
AsyncRequesterBootstrap.setHttp1Config(Http1Config http1Config)
Sets HTTP/1.1 protocol parameters
|
AsyncServerBootstrap |
AsyncServerBootstrap.setHttp1Config(Http1Config http1Config)
Sets HTTP/1.1 protocol parameters.
|
| 限定符和类型 | 方法和说明 |
|---|---|
HttpMessageParser<ClassicHttpRequest> |
DefaultHttpRequestParserFactory.create(Http1Config http1Config) |
HttpMessageParser<ClassicHttpResponse> |
DefaultHttpResponseParserFactory.create(Http1Config http1Config) |
DefaultBHttpServerConnectionFactory.Builder |
DefaultBHttpServerConnectionFactory.Builder.http1Config(Http1Config http1Config) |
DefaultBHttpClientConnectionFactory.Builder |
DefaultBHttpClientConnectionFactory.Builder.http1Config(Http1Config http1Config) |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpMessageParser<T> |
HttpMessageParserFactory.create(Http1Config http1Config) |
| 限定符和类型 | 方法和说明 |
|---|---|
H2RequesterBootstrap |
H2RequesterBootstrap.setHttp1Config(Http1Config http1Config)
Sets HTTP/1.1 protocol parameters
|
H2ServerBootstrap |
H2ServerBootstrap.setHttp1Config(Http1Config http1Config)
Sets HTTP/1.1 protocol parameters
|
Copyright © 2023. All rights reserved.