Class SocketConfig

java.lang.Object
org.apache.http.config.SocketConfig
All Implemented Interfaces:
Cloneable

@Contract(threading=IMMUTABLE) public class SocketConfig extends Object implements Cloneable
Socket configuration.
Since:
4.3
  • Field Details

    • DEFAULT

      public static final SocketConfig DEFAULT
    • soTimeout

      private final int soTimeout
    • soReuseAddress

      private final boolean soReuseAddress
    • soLinger

      private final int soLinger
    • soKeepAlive

      private final boolean soKeepAlive
    • tcpNoDelay

      private final boolean tcpNoDelay
    • sndBufSize

      private final int sndBufSize
    • rcvBufSize

      private final int rcvBufSize
    • backlogSize

      private final int backlogSize
  • Constructor Details

    • SocketConfig

      SocketConfig(int soTimeout, boolean soReuseAddress, int soLinger, boolean soKeepAlive, boolean tcpNoDelay, int sndBufSize, int rcvBufSize, int backlogSize)
  • Method Details