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.setTcpNoDelay(boolean tcpNoDelay) Determines the default value of theSocketOptions.TCP_NODELAYparameter for newly created sockets.