org.apache.http.config
Class SocketConfig.Builder
java.lang.Object
org.apache.http.config.SocketConfig.Builder
- Enclosing class:
- SocketConfig
public static class SocketConfig.Builder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setSoTimeout
public SocketConfig.Builder setSoTimeout(int soTimeout)
setSoReuseAddress
public SocketConfig.Builder setSoReuseAddress(boolean soReuseAddress)
setSoLinger
public SocketConfig.Builder setSoLinger(int soLinger)
setSoKeepAlive
public SocketConfig.Builder setSoKeepAlive(boolean soKeepAlive)
setTcpNoDelay
public SocketConfig.Builder setTcpNoDelay(boolean tcpNoDelay)
setSndBufSize
public SocketConfig.Builder setSndBufSize(int sndBufSize)
- Since:
- 4.4
setRcvBufSize
public SocketConfig.Builder setRcvBufSize(int rcvBufSize)
- Since:
- 4.4
setBacklogSize
public SocketConfig.Builder setBacklogSize(int backlogSize)
- Since:
- 4.4
build
public SocketConfig build()
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.