@Immutable public class BasicConnFactory extends Object implements ConnFactory<HttpHost,HttpClientConnection>
ConnFactory implementation that creates
HttpClientConnection instances given a HttpHost instance.
The following parameters can be used to customize the behavior of this
class:
HttpHost| Constructor and Description |
|---|
BasicConnFactory(HttpParams params) |
BasicConnFactory(SSLSocketFactory sslfactory,
HttpParams params) |
| Modifier and Type | Method and Description |
|---|---|
HttpClientConnection |
create(HttpHost host) |
protected HttpClientConnection |
create(Socket socket,
HttpParams params) |
public BasicConnFactory(SSLSocketFactory sslfactory, HttpParams params)
public BasicConnFactory(HttpParams params)
protected HttpClientConnection create(Socket socket, HttpParams params) throws IOException
IOExceptionpublic HttpClientConnection create(HttpHost host) throws IOException
create in interface ConnFactory<HttpHost,HttpClientConnection>IOExceptionCopyright © 2005–2013 The Apache Software Foundation. All rights reserved.