Package | Description |
---|---|
org.apache.hc.core5.http.io |
Core HTTP transport APIs based on the classic (blocking) I/O model.
|
Modifier and Type | Method and Description |
---|---|
static SocketConfig.Builder |
SocketConfig.copy(SocketConfig config) |
static SocketConfig.Builder |
SocketConfig.custom() |
SocketConfig.Builder |
SocketConfig.Builder.setBacklogSize(int backlogSize)
Determines the maximum queue length for incoming connection indications
(a request to connect) also known as server socket backlog.
|
SocketConfig.Builder |
SocketConfig.Builder.setRcvBufSize(int rcvBufSize)
Determines the default value of the
SocketOptions.SO_RCVBUF parameter
for newly created sockets. |
SocketConfig.Builder |
SocketConfig.Builder.setSndBufSize(int sndBufSize)
Determines the default value of the
SocketOptions.SO_SNDBUF parameter
for newly created sockets. |
SocketConfig.Builder |
SocketConfig.Builder.setSocksProxyAddress(SocketAddress socksProxyAddress)
The address of the SOCKS proxy to use.
|
SocketConfig.Builder |
SocketConfig.Builder.setSoKeepAlive(boolean soKeepAlive)
Determines the default value of the
SocketOptions.SO_KEEPALIVE parameter
for newly created sockets. |
SocketConfig.Builder |
SocketConfig.Builder.setSoLinger(int soLinger,
TimeUnit timeUnit) |
SocketConfig.Builder |
SocketConfig.Builder.setSoLinger(TimeValue soLinger)
Determines the default value of the
SocketOptions.SO_LINGER parameter
for newly created sockets. |
SocketConfig.Builder |
SocketConfig.Builder.setSoReuseAddress(boolean soReuseAddress)
Determines the default value of the
SocketOptions.SO_REUSEADDR parameter
for newly created sockets. |
SocketConfig.Builder |
SocketConfig.Builder.setSoTimeout(int soTimeout,
TimeUnit timeUnit) |
SocketConfig.Builder |
SocketConfig.Builder.setSoTimeout(Timeout soTimeout)
Determines the default socket timeout value for blocking I/O operations.
|
SocketConfig.Builder |
SocketConfig.Builder.setTcpNoDelay(boolean tcpNoDelay)
Determines the default value of the
SocketOptions.TCP_NODELAY parameter
for newly created sockets. |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.