org.apache.http.impl
Class DefaultBHttpClientConnectionFactory
java.lang.Object
org.apache.http.impl.DefaultBHttpClientConnectionFactory
- All Implemented Interfaces:
- HttpConnectionFactory<DefaultBHttpClientConnection>
@Contract(threading=IMMUTABLE_CONDITIONAL)
public class DefaultBHttpClientConnectionFactory
- extends Object
- implements HttpConnectionFactory<DefaultBHttpClientConnection>
Default factory for HttpClientConnection
s.
- Since:
- 4.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final DefaultBHttpClientConnectionFactory INSTANCE
DefaultBHttpClientConnectionFactory
public DefaultBHttpClientConnectionFactory(ConnectionConfig cconfig,
ContentLengthStrategy incomingContentStrategy,
ContentLengthStrategy outgoingContentStrategy,
HttpMessageWriterFactory<HttpRequest> requestWriterFactory,
HttpMessageParserFactory<HttpResponse> responseParserFactory)
DefaultBHttpClientConnectionFactory
public DefaultBHttpClientConnectionFactory(ConnectionConfig cconfig,
HttpMessageWriterFactory<HttpRequest> requestWriterFactory,
HttpMessageParserFactory<HttpResponse> responseParserFactory)
DefaultBHttpClientConnectionFactory
public DefaultBHttpClientConnectionFactory(ConnectionConfig cconfig)
DefaultBHttpClientConnectionFactory
public DefaultBHttpClientConnectionFactory()
createConnection
public DefaultBHttpClientConnection createConnection(Socket socket)
throws IOException
- Specified by:
createConnection
in interface HttpConnectionFactory<DefaultBHttpClientConnection>
- Throws:
IOException
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.