public class HttpClientConfiguration
extends java.lang.Object
HttpClient should be created.
Instances can only be obtained through an HttpClientConfiguration.Builder.| Modifier and Type | Class and Description |
|---|---|
static class |
HttpClientConfiguration.Builder
Builder of
HttpClientConfigurations. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getConnectionTimeout() |
TlsConfiguration |
getTlsConfiguration() |
int |
hashCode() |
boolean |
isCompressionHeader()
Is HTTP `Accept-Encoding` HTTP header enforced.
|
boolean |
isDecompress()
Defines whether responses should be decompressed automatically.
|
public int getConnectionTimeout()
HttpClient can wait when connecting to a remote host.public boolean isCompressionHeader()
true if the `Accept-Encoding: gzip, deflate` HTTP header will be sent to each request.public boolean isDecompress()
true if responses should be decompressed automaticallypublic TlsConfiguration getTlsConfiguration()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object