Uses of Class
software.amazon.awssdk.crt.http.HttpClientConnectionManagerOptions
Packages that use HttpClientConnectionManagerOptions
-
Uses of HttpClientConnectionManagerOptions in software.amazon.awssdk.crt.http
Methods in software.amazon.awssdk.crt.http that return HttpClientConnectionManagerOptionsModifier and TypeMethodDescriptionHttp2StreamManagerOptions.getConnectionManagerOptions()HttpClientConnectionManagerOptions.withBufferSize(int bufferSize) Deprecated.Sets the IO buffer size to use for connections in the connection poolHttpClientConnectionManagerOptions.withClientBootstrap(ClientBootstrap clientBootstrap) Sets the client bootstrap instance to use to create the pool's connectionsHttpClientConnectionManagerOptions.withConnectionAcquisitionTimeoutInMilliseconds(long connectionAcquisitionTimeoutInMilliseconds) If set,HttpClientConnectionManager.acquireConnection()will give up after waiting this long for a connection from the pool, failing with error AWS_ERROR_HTTP_CONNECTION_MANAGER_ACQUISITION_TIMEOUT.HttpClientConnectionManagerOptions.withExpectedHttpVersion(HttpVersion expectedHttpVersion) Set the expected protocol version of the connection to be made, default is HTTP/1.1HttpClientConnectionManagerOptions.withManualWindowManagement(boolean manualWindowManagement) If set to true, then you must manage the read backpressure mechanism.HttpClientConnectionManagerOptions.withMaxConnectionIdleInMilliseconds(long maxConnectionIdleInMilliseconds) Sets maximum amount of time, in milliseconds, that the connection can be idle in the manager before getting culled by the managerHttpClientConnectionManagerOptions.withMaxConnections(int maxConnections) Sets the maximum number of connections allowed in the connection poolHttpClientConnectionManagerOptions.withMaxPendingConnectionAcquisitions(long maxPendingConnectionAcquisitions) If set,HttpClientConnectionManager.acquireConnection()will fail with AWS_ERROR_HTTP_CONNECTION_MANAGER_MAX_PENDING_ACQUISITIONS_EXCEEDED if there are already pending acquisitions equal to `maxPendingConnectionAcquisitions`.HttpClientConnectionManagerOptions.withMonitoringOptions(HttpMonitoringOptions monitoringOptions) Sets the monitoring options for connections in the connection poolHttpClientConnectionManagerOptions.withPort(int port) Sets the port to connect to for connections in the connection pool.HttpClientConnectionManagerOptions.withProxyEnvironmentVariableSetting(HttpProxyEnvironmentVariableSetting httpProxyEnvironmentVariableSetting) Optional.HttpClientConnectionManagerOptions.withProxyOptions(HttpProxyOptions proxyOptions) Sets the proxy options for connections in the connection poolHttpClientConnectionManagerOptions.withResponseFirstByteTimeoutInMilliseconds(long responseFirstByteTimeoutInMilliseconds) Sets the responseFirstByteTimeoutInMilliseconds.HttpClientConnectionManagerOptions.withSocketOptions(SocketOptions socketOptions) Sets the socket options to use for connections in the connection poolHttpClientConnectionManagerOptions.withTlsConnectionOptions(TlsConnectionOptions tlsConnectionOptions) Sets the connection-specific TLS options to use for connections in the connection pool.HttpClientConnectionManagerOptions.withTlsContext(TlsContext tlsContext) Sets the tls context to use for connections in the connection poolSets the URI to use for connections in the connection poolHttpClientConnectionManagerOptions.withWindowSize(long windowSize) Sets the starting size of each HTTP stream's flow-control window.Methods in software.amazon.awssdk.crt.http with parameters of type HttpClientConnectionManagerOptionsModifier and TypeMethodDescriptionstatic HttpClientConnectionManagerHttpClientConnectionManager.create(HttpClientConnectionManagerOptions options) Factory function for HttpClientConnectionManager instancesHttp2StreamManagerOptions.withConnectionManagerOptions(HttpClientConnectionManagerOptions connectionManagerOptions) Required.