Class HttpClientConfiguration
java.lang.Object
org.mule.weave.v2.module.http.service.HttpClientConfiguration
Configuration component that specifies how an
HttpClient should be created.
Instances can only be obtained through an HttpClientConfiguration.Builder.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbooleanintinthashCode()booleanIs HTTP `Accept-Encoding` HTTP header enforced.booleanDefines whether responses should be decompressed automatically.
-
Method Details
-
getConnectionTimeout
public int getConnectionTimeout()- Returns:
- the maximum time in millisecond an
HttpClientcan wait when connecting to a remote host.
-
isCompressionHeader
public boolean isCompressionHeader()Is HTTP `Accept-Encoding` HTTP header enforced.- Returns:
trueif the `Accept-Encoding: gzip, deflate` HTTP header will be sent to each request.
-
isDecompress
public boolean isDecompress()Defines whether responses should be decompressed automatically.- Returns:
trueif responses should be decompressed automatically
-
getTlsConfiguration
- Returns:
- The TLS related data.
-
equals
-
hashCode
public int hashCode()
-