Package | Description |
---|---|
org.apache.http.config |
Core configuration APIs.
|
org.apache.http.conn |
Client connection management APIs.
|
org.apache.http.impl.bootstrap |
Embedded server and server bootstrap.
|
org.apache.http.impl.client |
Default HTTP client implementation.
|
org.apache.http.impl.conn |
Default implementations of client connection management
functions.
|
org.apache.http.impl.pool |
Default implementations of client side connection pools
for synchronous, blocking communication.
|
org.apache.http.params |
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static SocketConfig |
SocketConfig.DEFAULT |
Modifier and Type | Method and Description |
---|---|
SocketConfig |
SocketConfig.Builder.build() |
protected SocketConfig |
SocketConfig.clone() |
Modifier and Type | Method and Description |
---|---|
static SocketConfig.Builder |
SocketConfig.copy(SocketConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
HttpClientConnectionOperator.connect(ManagedHttpClientConnection conn,
HttpHost host,
java.net.InetSocketAddress localAddress,
int connectTimeout,
SocketConfig socketConfig,
HttpContext context) |
Modifier and Type | Method and Description |
---|---|
ServerBootstrap |
ServerBootstrap.setSocketConfig(SocketConfig socketConfig)
Sets socket configuration.
|
Constructor and Description |
---|
HttpServer(int port,
java.net.InetAddress ifAddress,
SocketConfig socketConfig,
javax.net.ServerSocketFactory serverSocketFactory,
HttpService httpService,
HttpConnectionFactory<? extends DefaultBHttpServerConnection> connectionFactory,
SSLServerSetupHandler sslSetupHandler,
ExceptionLogger exceptionLogger) |
RequestListener(SocketConfig socketConfig,
java.net.ServerSocket serversocket,
HttpService httpService,
HttpConnectionFactory<? extends HttpServerConnection> connectionFactory,
ExceptionLogger exceptionLogger,
java.util.concurrent.ExecutorService executorService) |
Modifier and Type | Method and Description |
---|---|
HttpClientBuilder |
HttpClientBuilder.setDefaultSocketConfig(SocketConfig config)
Assigns default
SocketConfig . |
Modifier and Type | Method and Description |
---|---|
SocketConfig |
PoolingHttpClientConnectionManager.getDefaultSocketConfig() |
SocketConfig |
PoolingHttpClientConnectionManager.ConfigData.getDefaultSocketConfig() |
SocketConfig |
BasicHttpClientConnectionManager.getSocketConfig() |
SocketConfig |
PoolingHttpClientConnectionManager.getSocketConfig(HttpHost host) |
SocketConfig |
PoolingHttpClientConnectionManager.ConfigData.getSocketConfig(HttpHost host) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultHttpClientConnectionOperator.connect(ManagedHttpClientConnection conn,
HttpHost host,
java.net.InetSocketAddress localAddress,
int connectTimeout,
SocketConfig socketConfig,
HttpContext context) |
void |
PoolingHttpClientConnectionManager.setDefaultSocketConfig(SocketConfig defaultSocketConfig) |
void |
PoolingHttpClientConnectionManager.ConfigData.setDefaultSocketConfig(SocketConfig defaultSocketConfig) |
void |
PoolingHttpClientConnectionManager.setSocketConfig(HttpHost host,
SocketConfig socketConfig) |
void |
PoolingHttpClientConnectionManager.ConfigData.setSocketConfig(HttpHost host,
SocketConfig socketConfig) |
void |
BasicHttpClientConnectionManager.setSocketConfig(SocketConfig socketConfig) |
Constructor and Description |
---|
BasicConnFactory(int connectTimeout,
SocketConfig sconfig,
ConnectionConfig cconfig) |
BasicConnFactory(SocketConfig sconfig,
ConnectionConfig cconfig) |
BasicConnFactory(javax.net.SocketFactory plainfactory,
javax.net.ssl.SSLSocketFactory sslfactory,
int connectTimeout,
SocketConfig sconfig,
ConnectionConfig cconfig) |
BasicConnPool(SocketConfig sconfig,
ConnectionConfig cconfig) |
Modifier and Type | Method and Description |
---|---|
static SocketConfig |
HttpParamConfig.getSocketConfig(HttpParams params)
Deprecated.
|