Apache5HttpClient.Builder |
Apache5HttpClient.Builder.authSchemeRegistry(org.apache.hc.core5.http.config.Registry<org.apache.hc.client5.http.auth.AuthSchemeFactory> authSchemeRegistry) |
Configure the authentication scheme registry that can be used to obtain the corresponding authentication scheme
implementation for a given type of authorization challenge.
|
static Apache5HttpClient.Builder |
Apache5HttpClient.builder() |
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.connectionAcquisitionTimeout(Duration connectionAcquisitionTimeout) |
The amount of time to wait when acquiring a connection from the pool before giving up and timing out.
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.connectionMaxIdleTime(Duration maxIdleConnectionTimeout) |
Configure the maximum amount of time that a connection should be allowed to remain open while idle.
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.connectionTimeout(Duration connectionTimeout) |
The amount of time to wait when initially establishing a connection before giving up and timing out.
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.connectionTimeToLive(Duration connectionTimeToLive) |
The maximum amount of time that a connection should be allowed to remain open, regardless of usage frequency.
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.credentialsProvider(org.apache.hc.client5.http.auth.CredentialsProvider credentialsProvider) |
Configuration that defines a custom credential provider for HTTP requests.
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.dnsResolver(org.apache.hc.client5.http.DnsResolver dnsResolver) |
Configuration that defines a DNS resolver.
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.expectContinueEnabled(Boolean expectContinueEnabled) |
Configure whether the client should send an HTTP expect-continue handshake before each request.
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.httpRoutePlanner(org.apache.hc.client5.http.routing.HttpRoutePlanner proxyConfiguration) |
Configuration that defines an HTTP route planner that computes the route an HTTP request should take.
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.localAddress(InetAddress localAddress) |
Configure the local address that the HTTP client should use for communication.
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.maxConnections(Integer maxConnections) |
The maximum number of connections allowed in the connection pool.
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.proxyConfiguration(ProxyConfiguration proxyConfiguration) |
Configuration that defines how to communicate via an HTTP proxy.
|
Apache5HttpClient.Builder |
Apache5HttpClient.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.
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.tcpKeepAlive(Boolean keepConnectionAlive) |
Configure whether to enable or disable TCP KeepAlive.
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.tlsKeyManagersProvider(TlsKeyManagersProvider tlsKeyManagersProvider) |
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.tlsSocketStrategy(org.apache.hc.client5.http.ssl.TlsSocketStrategy tlsSocketStrategy) |
Configure a custom TLS strategy for SSL/TLS connections.
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.tlsTrustManagersProvider(TlsTrustManagersProvider tlsTrustManagersProvider) |
|
Apache5HttpClient.Builder |
Apache5HttpClient.Builder.useIdleConnectionReaper(Boolean useConnectionReaper) |
Configure whether the idle connections in the connection pool should be closed asynchronously.
|