Uses of Class
org.apache.hc.core5.http.io.SocketConfig.Builder
Packages that use SocketConfig.Builder
Package
Description
Core HTTP transport APIs based on the classic (blocking) I/O model.
-
Uses of SocketConfig.Builder in org.apache.hc.core5.http.io
Methods in org.apache.hc.core5.http.io that return SocketConfig.BuilderModifier and TypeMethodDescriptionstatic SocketConfig.Builder
SocketConfig.copy
(SocketConfig config) static SocketConfig.Builder
SocketConfig.custom()
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.setRcvBufSize
(int rcvBufSize) Determines the default value of theSocketOptions.SO_RCVBUF
parameter for newly created sockets.SocketConfig.Builder.setSndBufSize
(int sndBufSize) Determines the default value of theSocketOptions.SO_SNDBUF
parameter for newly created sockets.SocketConfig.Builder.setSocksProxyAddress
(SocketAddress socksProxyAddress) The address of the SOCKS proxy to use.SocketConfig.Builder.setSoKeepAlive
(boolean soKeepAlive) Determines the default value of theSocketOptions.SO_KEEPALIVE
parameter for newly created sockets.SocketConfig.Builder.setSoLinger
(int soLinger, TimeUnit timeUnit) SocketConfig.Builder.setSoLinger
(TimeValue soLinger) Determines the default value of theSocketOptions.SO_LINGER
parameter for newly created sockets.SocketConfig.Builder.setSoReuseAddress
(boolean soReuseAddress) Determines the default value of theSocketOptions.SO_REUSEADDR
parameter for newly created sockets.SocketConfig.Builder.setSoTimeout
(int soTimeout, TimeUnit timeUnit) SocketConfig.Builder.setSoTimeout
(Timeout soTimeout) Determines the default socket timeout value for blocking I/O operations.SocketConfig.Builder.setTcpNoDelay
(boolean tcpNoDelay) Determines the default value of theSocketOptions.TCP_NODELAY
parameter for newly created sockets.