HttpClientConfig
Last updated
Last updated
Type | Name | Summary |
---|---|---|
Gets/Sets the certificate password. The following sample sets up an HttpClient with custom SSL/TLS configuration using a PKCS12 keystore for client certificates and a JKS truststore for trusted certificate authorities.
Type String
Sample
Gets/Sets the certificate path. The following sample sets up an HttpClient with custom SSL/TLS configuration using a PKCS12 keystore for client certificates and a JKS truststore for trusted certificate authorities.
Type String
Sample
Sets whether client should follow redirects or you want to do it manually. Default value is true.
Type Boolean
Sample
Force the use of http1, use this if there are problems connecting to a server that does use http/2 but uses old cipher suites or if there are other problems like http/2 not setting the content length and the server still wants it.
Type Boolean
Sample
Disable hostname certificate validation. This should be used only for testing purposes, because this is not secure!
Type Boolean
Sample
Gets/Sets keep alive duration in seconds for a connection, default is -1 (no duration specified).
Type Number
Sample
Gets/Sets maximum number of connections per route used by Connection Manager.
Type Number
Sample
Gets/Sets maximum number of input/output threads per client, default value is 2.
Type Number
Sample
Gets/Sets maximum number of connections used by Connection Manager.
Type Number
Sample
Sets whether multipart request should be written in one go(not using buffering). Default value is false.
Type Boolean
Sample
Gets/Sets which TLS protocol to use, default value is TLS.
Type String
Sample
Gets/Sets the password to the java truststore where to import the certificate. The following sample sets up an HttpClient with custom SSL/TLS configuration using a PKCS12 keystore for client certificates and a JKS truststore for trusted certificate authorities.
Type String
Sample
Gets/Sets custom userAgent to use.
Type String
Sample
Gets/Sets the certificate password.
Gets/Sets the certificate path.
Sets whether client should follow redirects or you want to do it manually.
Force the use of http1, use this if there are problems connecting to a server that does use http/2 but uses old cipher suites or if there are other problems like http/2 not setting the content length and the server still wants it.
Disable hostname certificate validation.
Gets/Sets keep alive duration in seconds for a connection, default is -1 (no duration specified).
Gets/Sets maximum number of connections per route used by Connection Manager.
Gets/Sets maximum number of input/output threads per client, default value is 2.
Gets/Sets maximum number of connections used by Connection Manager.
Sets whether multipart request should be written in one go(not using buffering).
Gets/Sets which TLS protocol to use, default value is TLS.
Gets/Sets the password to the java truststore where to import the certificate.
Gets/Sets custom userAgent to use.