@Contract(threading=IMMUTABLE_CONDITIONAL) public class BasicConnFactory extends Object implements ConnFactory<HttpHost,HttpClientConnection>
ConnFactory
implementation that creates
HttpClientConnection
instances given a HttpHost
instance.HttpHost
Constructor and Description |
---|
BasicConnFactory() |
BasicConnFactory(HttpParams params)
Deprecated.
|
BasicConnFactory(int connectTimeout,
SocketConfig sconfig,
ConnectionConfig cconfig) |
BasicConnFactory(SocketConfig sconfig,
ConnectionConfig cconfig) |
BasicConnFactory(SocketFactory plainfactory,
SSLSocketFactory sslfactory,
int connectTimeout,
SocketConfig sconfig,
ConnectionConfig cconfig) |
BasicConnFactory(SSLSocketFactory sslfactory,
HttpParams params)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
HttpClientConnection |
create(HttpHost host) |
@Deprecated public BasicConnFactory(SSLSocketFactory sslfactory, HttpParams params)
BasicConnFactory(SocketFactory, SSLSocketFactory, int,
SocketConfig, ConnectionConfig)
.@Deprecated public BasicConnFactory(HttpParams params)
BasicConnFactory(int, SocketConfig, ConnectionConfig)
.public BasicConnFactory(SocketFactory plainfactory, SSLSocketFactory sslfactory, int connectTimeout, SocketConfig sconfig, ConnectionConfig cconfig)
public BasicConnFactory(int connectTimeout, SocketConfig sconfig, ConnectionConfig cconfig)
public BasicConnFactory(SocketConfig sconfig, ConnectionConfig cconfig)
public BasicConnFactory()
public HttpClientConnection create(HttpHost host) throws IOException
create
in interface ConnFactory<HttpHost,HttpClientConnection>
IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved