@Contract(threading=IMMUTABLE_CONDITIONAL) public class ManagedHttpClientConnectionFactory extends Object implements HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection>
ManagedHttpClientConnection
instances.Modifier and Type | Field and Description |
---|---|
static ManagedHttpClientConnectionFactory |
INSTANCE |
Constructor and Description |
---|
ManagedHttpClientConnectionFactory() |
ManagedHttpClientConnectionFactory(org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory) |
ManagedHttpClientConnectionFactory(org.apache.http.io.HttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory,
org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory) |
ManagedHttpClientConnectionFactory(org.apache.http.io.HttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory,
org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory,
org.apache.http.entity.ContentLengthStrategy incomingContentStrategy,
org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy) |
Modifier and Type | Method and Description |
---|---|
ManagedHttpClientConnection |
create(HttpRoute route,
org.apache.http.config.ConnectionConfig config) |
public static final ManagedHttpClientConnectionFactory INSTANCE
public ManagedHttpClientConnectionFactory(org.apache.http.io.HttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory, org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory, org.apache.http.entity.ContentLengthStrategy incomingContentStrategy, org.apache.http.entity.ContentLengthStrategy outgoingContentStrategy)
public ManagedHttpClientConnectionFactory(org.apache.http.io.HttpMessageWriterFactory<org.apache.http.HttpRequest> requestWriterFactory, org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory)
public ManagedHttpClientConnectionFactory(org.apache.http.io.HttpMessageParserFactory<org.apache.http.HttpResponse> responseParserFactory)
public ManagedHttpClientConnectionFactory()
public ManagedHttpClientConnection create(HttpRoute route, org.apache.http.config.ConnectionConfig config)
create
in interface HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection>
Copyright © 1999–2022 The Apache Software Foundation. All rights reserved.