@Contract(threading=STATELESS) public class ManagedHttpClientConnectionFactory extends Object implements org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection>
ManagedHttpClientConnection instances.| Modifier and Type | Field and Description |
|---|---|
static ManagedHttpClientConnectionFactory |
INSTANCE |
| Constructor and Description |
|---|
ManagedHttpClientConnectionFactory() |
ManagedHttpClientConnectionFactory(org.apache.hc.core5.http.config.Http1Config h1Config,
org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig,
org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseParserFactory) |
ManagedHttpClientConnectionFactory(org.apache.hc.core5.http.config.Http1Config h1Config,
org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig,
org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestWriterFactory,
org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseParserFactory) |
ManagedHttpClientConnectionFactory(org.apache.hc.core5.http.config.Http1Config h1Config,
org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig,
org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestWriterFactory,
org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseParserFactory,
org.apache.hc.core5.http.ContentLengthStrategy incomingContentStrategy,
org.apache.hc.core5.http.ContentLengthStrategy outgoingContentStrategy) |
public static final ManagedHttpClientConnectionFactory INSTANCE
public ManagedHttpClientConnectionFactory(org.apache.hc.core5.http.config.Http1Config h1Config,
org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig,
org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestWriterFactory,
org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseParserFactory,
org.apache.hc.core5.http.ContentLengthStrategy incomingContentStrategy,
org.apache.hc.core5.http.ContentLengthStrategy outgoingContentStrategy)
public ManagedHttpClientConnectionFactory(org.apache.hc.core5.http.config.Http1Config h1Config,
org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig,
org.apache.hc.core5.http.io.HttpMessageWriterFactory<org.apache.hc.core5.http.ClassicHttpRequest> requestWriterFactory,
org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseParserFactory)
public ManagedHttpClientConnectionFactory(org.apache.hc.core5.http.config.Http1Config h1Config,
org.apache.hc.core5.http.config.CharCodingConfig charCodingConfig,
org.apache.hc.core5.http.io.HttpMessageParserFactory<org.apache.hc.core5.http.ClassicHttpResponse> responseParserFactory)
public ManagedHttpClientConnectionFactory()
public ManagedHttpClientConnection createConnection(Socket socket) throws IOException
createConnection in interface org.apache.hc.core5.http.io.HttpConnectionFactory<ManagedHttpClientConnection>IOExceptionCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.