Package | Description |
---|---|
software.amazon.awssdk.http.apache |
Modifier and Type | Method and Description |
---|---|
static ApacheHttpClient.Builder |
ApacheHttpClient.builder() |
ApacheHttpClient.Builder |
ApacheHttpClient.Builder.connectionAcquisitionTimeout(Duration connectionAcquisitionTimeout)
The amount of time to wait when acquiring a connection from the pool before giving up and timing out.
|
ApacheHttpClient.Builder |
ApacheHttpClient.Builder.connectionMaxIdleTime(Duration maxIdleConnectionTimeout)
Configure the maximum amount of time that a connection should be allowed to remain open while idle.
|
ApacheHttpClient.Builder |
ApacheHttpClient.Builder.connectionTimeout(Duration connectionTimeout)
The amount of time to wait when initially establishing a connection before giving up and timing out.
|
ApacheHttpClient.Builder |
ApacheHttpClient.Builder.connectionTimeToLive(Duration connectionTimeToLive)
The maximum amount of time that a connection should be allowed to remain open, regardless of usage frequency.
|
ApacheHttpClient.Builder |
ApacheHttpClient.Builder.credentialsProvider(org.apache.http.client.CredentialsProvider credentialsProvider)
Configuration that defines a custom credential provider for HTTP requests.
|
ApacheHttpClient.Builder |
ApacheHttpClient.Builder.expectContinueEnabled(Boolean expectContinueEnabled)
Configure whether the client should send an HTTP expect-continue handshake before each request.
|
ApacheHttpClient.Builder |
ApacheHttpClient.Builder.httpRoutePlanner(org.apache.http.conn.routing.HttpRoutePlanner proxyConfiguration)
Configuration that defines an HTTP route planner that computes the route an HTTP request should take.
|
ApacheHttpClient.Builder |
ApacheHttpClient.Builder.localAddress(InetAddress localAddress)
Configure the local address that the HTTP client should use for communication.
|
ApacheHttpClient.Builder |
ApacheHttpClient.Builder.maxConnections(Integer maxConnections)
The maximum number of connections allowed in the connection pool.
|
ApacheHttpClient.Builder |
ApacheHttpClient.Builder.proxyConfiguration(ProxyConfiguration proxyConfiguration)
Configuration that defines how to communicate via an HTTP proxy.
|
ApacheHttpClient.Builder |
ApacheHttpClient.Builder.socketTimeout(Duration socketTimeout)
The amount of time to wait for data to be transferred over an established, open connection before the connection is
timed out.
|
ApacheHttpClient.Builder |
ApacheHttpClient.Builder.useIdleConnectionReaper(Boolean useConnectionReaper)
Configure whether the idle connections in the connection pool should be closed asynchronously.
|
Copyright © 2019. All rights reserved.