public class HttpClientConnectionManagerOptions extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_BUFFER_SIZE |
static int |
DEFAULT_MAX_CONNECTIONS |
static int |
DEFAULT_MAX_WINDOW_SIZE |
Constructor and Description |
---|
HttpClientConnectionManagerOptions() |
Modifier and Type | Method and Description |
---|---|
int |
getBufferSize()
Gets the IO buffer size to use for connections in the connection pool
|
ClientBootstrap |
getClientBootstrap()
Gets the client bootstrap instance to use to create the pool's connections
|
int |
getMaxConnections()
Gets the maximum number of connections allowed in the connection pool
|
int |
getPort()
Gets the port to connect to for connections in the connection pool
|
HttpProxyOptions |
getProxyOptions()
Gets the proxy options for connections in the connection pool
|
SocketOptions |
getSocketOptions()
Gets the socket options to use for connections in the connection pool
|
TlsContext |
getTlsContext()
Gets the tls context to use for connections in the connection pool
|
URI |
getUri()
Gets the URI to use for connections in the connection pool
|
int |
getWindowSize()
Gets the IO channel window size to use for connections in the connection pool
|
HttpClientConnectionManagerOptions |
withBufferSize(int bufferSize)
Sets the IO buffer size to use for connections in the connection pool
|
HttpClientConnectionManagerOptions |
withClientBootstrap(ClientBootstrap clientBootstrap)
Sets the client bootstrap instance to use to create the pool's connections
|
HttpClientConnectionManagerOptions |
withMaxConnections(int maxConnections)
Sets the maximum number of connections allowed in the connection pool
|
HttpClientConnectionManagerOptions |
withPort(int port)
Sets the port to connect to for connections in the connection pool
|
HttpClientConnectionManagerOptions |
withProxyOptions(HttpProxyOptions proxyOptions)
Sets the proxy options for connections in the connection pool
|
HttpClientConnectionManagerOptions |
withSocketOptions(SocketOptions socketOptions)
Sets the socket options to use for connections in the connection pool
|
HttpClientConnectionManagerOptions |
withTlsContext(TlsContext tlsContext)
Sets the tls context to use for connections in the connection pool
|
HttpClientConnectionManagerOptions |
withUri(URI uri)
Sets the URI to use for connections in the connection pool
|
HttpClientConnectionManagerOptions |
withWindowSize(int windowSize)
Sets the IO channel window size to use for connections in the connection pool
|
public static final int DEFAULT_MAX_BUFFER_SIZE
public static final int DEFAULT_MAX_WINDOW_SIZE
public static final int DEFAULT_MAX_CONNECTIONS
public HttpClientConnectionManagerOptions withClientBootstrap(ClientBootstrap clientBootstrap)
public ClientBootstrap getClientBootstrap()
public HttpClientConnectionManagerOptions withSocketOptions(SocketOptions socketOptions)
public SocketOptions getSocketOptions()
public HttpClientConnectionManagerOptions withTlsContext(TlsContext tlsContext)
public TlsContext getTlsContext()
public HttpClientConnectionManagerOptions withWindowSize(int windowSize)
public int getWindowSize()
public HttpClientConnectionManagerOptions withBufferSize(int bufferSize)
public int getBufferSize()
public HttpClientConnectionManagerOptions withUri(URI uri)
public URI getUri()
public HttpClientConnectionManagerOptions withPort(int port)
public int getPort()
public HttpClientConnectionManagerOptions withMaxConnections(int maxConnections)
public int getMaxConnections()
public HttpClientConnectionManagerOptions withProxyOptions(HttpProxyOptions proxyOptions)
public HttpProxyOptions getProxyOptions()
Copyright © 2019. All rights reserved.