Package | Description |
---|---|
org.apache.hc.core5.reactor |
Event driven network communication APIs and components loosely based on
Doug Lea's
reactor pattern.
|
Modifier and Type | Method and Description |
---|---|
static IOReactorConfig.Builder |
IOReactorConfig.copy(IOReactorConfig config) |
static IOReactorConfig.Builder |
IOReactorConfig.custom() |
IOReactorConfig.Builder |
IOReactorConfig.Builder.setBacklogSize(int backlogSize)
Determines the default backlog size value for server sockets binds.
|
IOReactorConfig.Builder |
IOReactorConfig.Builder.setIoThreadCount(int ioThreadCount)
Determines the number of I/O dispatch threads to be used by the I/O reactor.
|
IOReactorConfig.Builder |
IOReactorConfig.Builder.setRcvBufSize(int rcvBufSize)
Determines the default value of the
SocketOptions.SO_RCVBUF parameter
for newly created sockets. |
IOReactorConfig.Builder |
IOReactorConfig.Builder.setSelectInterval(TimeValue selectInterval)
Determines time interval at which the I/O reactor wakes up to check for timed out sessions
and session requests.
|
IOReactorConfig.Builder |
IOReactorConfig.Builder.setSndBufSize(int sndBufSize)
Determines the default value of the
SocketOptions.SO_SNDBUF parameter
for newly created sockets. |
IOReactorConfig.Builder |
IOReactorConfig.Builder.setSocksProxyAddress(SocketAddress socksProxyAddress)
The address of the SOCKS proxy to use.
|
IOReactorConfig.Builder |
IOReactorConfig.Builder.setSocksProxyPassword(String socksProxyPassword)
The password to provide to the SOCKS proxy for username/password authentication.
|
IOReactorConfig.Builder |
IOReactorConfig.Builder.setSocksProxyUsername(String socksProxyUsername)
The username to provide to the SOCKS proxy for username/password authentication.
|
IOReactorConfig.Builder |
IOReactorConfig.Builder.setSoKeepAlive(boolean soKeepAlive)
Determines the default value of the
SocketOptions.SO_KEEPALIVE parameter
for newly created sockets. |
IOReactorConfig.Builder |
IOReactorConfig.Builder.setSoLinger(int soLinger,
TimeUnit timeUnit)
Determines the default value of the
SocketOptions.SO_LINGER parameter
for newly created sockets. |
IOReactorConfig.Builder |
IOReactorConfig.Builder.setSoLinger(TimeValue soLinger)
Determines the default value of the
SocketOptions.SO_LINGER parameter
for newly created sockets. |
IOReactorConfig.Builder |
IOReactorConfig.Builder.setSoReuseAddress(boolean soReuseAddress)
Determines the default value of the
SocketOptions.SO_REUSEADDR parameter
for newly created sockets. |
IOReactorConfig.Builder |
IOReactorConfig.Builder.setSoTimeout(int soTimeout,
TimeUnit timeUnit)
Determines the default socket timeout value for non-blocking I/O operations.
|
IOReactorConfig.Builder |
IOReactorConfig.Builder.setSoTimeout(Timeout soTimeout)
Determines the default socket timeout value for non-blocking I/O operations.
|
IOReactorConfig.Builder |
IOReactorConfig.Builder.setTcpNoDelay(boolean tcpNoDelay)
Determines the default value of the
SocketOptions.TCP_NODELAY parameter
for newly created sockets. |
IOReactorConfig.Builder |
IOReactorConfig.Builder.setTrafficClass(int trafficClass)
Determines the default value of the
SocketOptions.IP_TOS parameter
for newly created sockets. |
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.