@Contract(threading=STATELESS) public class ManagedHttpClientConnectionFactory extends Object implements HttpConnectionFactory<ManagedHttpClientConnection>
ManagedHttpClientConnection instances.| 限定符和类型 | 类和说明 |
|---|---|
static class |
ManagedHttpClientConnectionFactory.Builder
Builder for
ManagedHttpClientConnectionFactory. |
| 限定符和类型 | 字段和说明 |
|---|---|
static ManagedHttpClientConnectionFactory |
INSTANCE |
| 构造器和说明 |
|---|
ManagedHttpClientConnectionFactory() |
ManagedHttpClientConnectionFactory(Http1Config h1Config,
CharCodingConfig charCodingConfig,
HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) |
ManagedHttpClientConnectionFactory(Http1Config h1Config,
CharCodingConfig charCodingConfig,
HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory,
HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory) |
ManagedHttpClientConnectionFactory(Http1Config h1Config,
CharCodingConfig charCodingConfig,
HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory,
HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy) |
| 限定符和类型 | 方法和说明 |
|---|---|
static ManagedHttpClientConnectionFactory.Builder |
builder()
Create a new
ManagedHttpClientConnectionFactory.Builder. |
ManagedHttpClientConnection |
createConnection(Socket socket) |
public static final ManagedHttpClientConnectionFactory INSTANCE
public ManagedHttpClientConnectionFactory(Http1Config h1Config, CharCodingConfig charCodingConfig, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy)
public ManagedHttpClientConnectionFactory(Http1Config h1Config, CharCodingConfig charCodingConfig, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)
public ManagedHttpClientConnectionFactory(Http1Config h1Config, CharCodingConfig charCodingConfig, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)
public ManagedHttpClientConnectionFactory()
public ManagedHttpClientConnection createConnection(Socket socket) throws IOException
public static ManagedHttpClientConnectionFactory.Builder builder()
ManagedHttpClientConnectionFactory.Builder.Copyright © 2023. All rights reserved.