@Contract(threading=STATELESS) public class ManagedHttpClientConnectionFactory extends Object implements HttpConnectionFactory<ManagedHttpClientConnection>
ManagedHttpClientConnection
instances.Modifier and Type | Field and Description |
---|---|
static ManagedHttpClientConnectionFactory |
INSTANCE |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
ManagedHttpClientConnection |
createConnection(Socket socket) |
public static final ManagedHttpClientConnectionFactory INSTANCE
public ManagedHttpClientConnectionFactory()
public ManagedHttpClientConnectionFactory(Http1Config h1Config, CharCodingConfig charCodingConfig, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)
public ManagedHttpClientConnectionFactory(Http1Config h1Config, CharCodingConfig charCodingConfig, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory)
public ManagedHttpClientConnectionFactory(Http1Config h1Config, CharCodingConfig charCodingConfig, HttpMessageWriterFactory<ClassicHttpRequest> requestWriterFactory, HttpMessageParserFactory<ClassicHttpResponse> responseParserFactory, ContentLengthStrategy incomingContentStrategy, ContentLengthStrategy outgoingContentStrategy)
public ManagedHttpClientConnection createConnection(Socket socket) throws IOException
createConnection
in interface HttpConnectionFactory<ManagedHttpClientConnection>
IOException