| 程序包 | 说明 |
|---|---|
| org.apache.hc.client5.http.impl.io |
Client connection management functions based the classic
connection management 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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ManagedHttpClientConnectionFactory.Builder |
ManagedHttpClientConnectionFactory.Builder.incomingContentLengthStrategy(ContentLengthStrategy incomingContentLengthStrategy) |
ManagedHttpClientConnectionFactory.Builder |
ManagedHttpClientConnectionFactory.Builder.outgoingContentLengthStrategy(ContentLengthStrategy outgoingContentLengthStrategy) |
| 构造器和说明 |
|---|
ManagedHttpClientConnectionFactory(Http1Config h1Config,
CharCodingConfig charCodingConfig,
HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory,
HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultContentLengthStrategy
The default implementation of the content length strategy.
|
| 限定符和类型 | 方法和说明 |
|---|---|
DefaultBHttpServerConnectionFactory.Builder |
DefaultBHttpServerConnectionFactory.Builder.incomingContentLengthStrategy(ContentLengthStrategy incomingContentLengthStrategy) |
DefaultBHttpClientConnectionFactory.Builder |
DefaultBHttpClientConnectionFactory.Builder.incomingContentLengthStrategy(ContentLengthStrategy incomingContentLengthStrategy) |
DefaultBHttpServerConnectionFactory.Builder |
DefaultBHttpServerConnectionFactory.Builder.outgoingContentLengthStrategy(ContentLengthStrategy outgoingContentLengthStrategy) |
DefaultBHttpClientConnectionFactory.Builder |
DefaultBHttpClientConnectionFactory.Builder.outgoingContentLengthStrategy(ContentLengthStrategy outgoingContentLengthStrategy) |
Copyright © 2023. All rights reserved.