Package org.apache.hc.core5.reactor
Class IOReactorConfig
- java.lang.Object
-
- org.apache.hc.core5.reactor.IOReactorConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIOReactorConfig.Builder
-
Field Summary
Fields Modifier and Type Field Description static IOReactorConfigDEFAULT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static IOReactorConfig.Buildercopy(IOReactorConfig config)static IOReactorConfig.Buildercustom()intgetBacklogSize()intgetIoThreadCount()intgetRcvBufSize()TimeValuegetSelectInterval()intgetSndBufSize()java.net.SocketAddressgetSocksProxyAddress()java.lang.StringgetSocksProxyPassword()java.lang.StringgetSocksProxyUsername()TimeValuegetSoLinger()TimeoutgetSoTimeout()intgetTcpKeepCount()intgetTcpKeepIdle()intgetTcpKeepInterval()intgetTrafficClass()booleanisSoKeepalive()Deprecated.useisSoKeepAlive().booleanisSoKeepAlive()booleanisSoReuseAddress()booleanisTcpNoDelay()java.lang.StringtoString()
-
-
-
Field Detail
-
DEFAULT
public static final IOReactorConfig DEFAULT
-
-
Method Detail
-
getSelectInterval
public TimeValue getSelectInterval()
-
getIoThreadCount
public int getIoThreadCount()
-
getSoTimeout
public Timeout getSoTimeout()
-
isSoReuseAddress
public boolean isSoReuseAddress()
-
getSoLinger
public TimeValue getSoLinger()
-
isSoKeepAlive
public boolean isSoKeepAlive()
- Since:
- 5.2
- See Also:
IOReactorConfig.Builder.setSoKeepAlive(boolean)
-
isSoKeepalive
@Deprecated public boolean isSoKeepalive()
Deprecated.useisSoKeepAlive().
-
isTcpNoDelay
public boolean isTcpNoDelay()
-
getTrafficClass
public int getTrafficClass()
- Since:
- 5.1
- See Also:
IOReactorConfig.Builder.setTrafficClass(int)
-
getSndBufSize
public int getSndBufSize()
-
getRcvBufSize
public int getRcvBufSize()
-
getBacklogSize
public int getBacklogSize()
-
getTcpKeepIdle
public int getTcpKeepIdle()
- Since:
- 5.3
- See Also:
IOReactorConfig.Builder.setTcpKeepIdle(int)
-
getTcpKeepInterval
public int getTcpKeepInterval()
- Since:
- 5.3
- See Also:
IOReactorConfig.Builder.setTcpKeepInterval(int)
-
getTcpKeepCount
public int getTcpKeepCount()
- Since:
- 5.3
- See Also:
IOReactorConfig.Builder.setTcpKeepCount(int)
-
getSocksProxyAddress
public java.net.SocketAddress getSocksProxyAddress()
-
getSocksProxyUsername
public java.lang.String getSocksProxyUsername()
-
getSocksProxyPassword
public java.lang.String getSocksProxyPassword()
-
custom
public static IOReactorConfig.Builder custom()
-
copy
public static IOReactorConfig.Builder copy(IOReactorConfig config)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-