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.BuilderSocketConfig.copy(SocketConfig config) static SocketConfig.BuilderSocketConfig.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_RCVBUFparameter for newly created sockets.SocketConfig.Builder.setSndBufSize(int sndBufSize) Determines the default value of theSocketOptions.SO_SNDBUFparameter 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_KEEPALIVEparameter for newly created sockets.SocketConfig.Builder.setSoLinger(int soLinger, TimeUnit timeUnit) SocketConfig.Builder.setSoLinger(TimeValue soLinger) Determines the default value of theSocketOptions.SO_LINGERparameter for newly created sockets.SocketConfig.Builder.setSoReuseAddress(boolean soReuseAddress) Determines the default value of theSocketOptions.SO_REUSEADDRparameter 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.setTcpKeepCount(int tcpKeepCount) Determines the maximum number of keepalive probes TCP should send before dropping the connection.SocketConfig.Builder.setTcpKeepIdle(int tcpKeepIdle) Determines the time (in seconds) the connection needs to remain idle before TCP starts sending keepalive probes.SocketConfig.Builder.setTcpKeepInterval(int tcpKeepInterval) Determines the time (in seconds) between individual keepalive probes.SocketConfig.Builder.setTcpNoDelay(boolean tcpNoDelay) Determines the default value of theSocketOptions.TCP_NODELAYparameter for newly created sockets.