@Immutable 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(HttpMessageParserFactory<HttpResponse> responseParserFactory) |
ManagedHttpClientConnectionFactory(HttpMessageWriterFactory<HttpRequest> requestWriterFactory,
HttpMessageParserFactory<HttpResponse> responseParserFactory) |
Modifier and Type | Method and Description |
---|---|
ManagedHttpClientConnection |
create(HttpRoute route,
org.apache.http.config.ConnectionConfig config) |
public static final ManagedHttpClientConnectionFactory INSTANCE
public ManagedHttpClientConnectionFactory(HttpMessageWriterFactory<HttpRequest> requestWriterFactory, HttpMessageParserFactory<HttpResponse> responseParserFactory)
public ManagedHttpClientConnectionFactory(HttpMessageParserFactory<HttpResponse> responseParserFactory)
public ManagedHttpClientConnectionFactory()
public ManagedHttpClientConnection create(HttpRoute route, org.apache.http.config.ConnectionConfig config)
create
in interface HttpConnectionFactory<HttpRoute,ManagedHttpClientConnection>
Copyright © 1999–2013 The Apache Software Foundation. All rights reserved.