Initializer
HttpClientOptions(Integer? connectTimeout = null, {String*}? crlPaths = null, String? defaultHost = null, Integer? defaultPort = null, {String*}? enabledCipherSuites = null, Integer? idleTimeout = null, Boolean? keepAlive = null, JksOptions? keyStoreOptions = null, Integer? maxChunkSize = null, Integer? maxPoolSize = null, Integer? maxWaitQueueSize = null, Integer? maxWebsocketFrameSize = null, PemKeyCertOptions? pemKeyCertOptions = null, PemTrustOptions? pemTrustOptions = null, PfxOptions? pfxKeyCertOptions = null, PfxOptions? pfxTrustOptions = null, Boolean? pipelining = null, HttpVersion? protocolVersion = null, Integer? receiveBufferSize = null, Boolean? reuseAddress = null, Integer? sendBufferSize = null, Integer? soLinger = null, Boolean? ssl = null, Boolean? tcpKeepAlive = null, Boolean? tcpNoDelay = null, Integer? trafficClass = null, Boolean? trustAll = null, JksOptions? trustStoreOptions = null, Boolean? tryUseCompression = null, Boolean? usePooledBuffers = null, Boolean? verifyHost = null)
Parameters:
  • connectTimeout = null
  • crlPaths = null
  • defaultHost = null

    Set the default host name to be used by this client in requests if none is provided when making the request.

  • defaultPort = null

    Set the default port to be used by this client in requests if none is provided when making the request.

  • enabledCipherSuites = null
  • idleTimeout = null
  • keepAlive = null

    Set whether keep alive is enabled on the client

  • keyStoreOptions = null
  • maxChunkSize = null

    Set the maximum HTTP chunk size

  • maxPoolSize = null

    Set the maximum pool size for connections

  • maxWaitQueueSize = null

    Set the maximum requests allowed in the wait queue, any requests beyond the max size will result in a ConnectionPoolTooBusyException. If the value is set to a negative number then the queue will be unbounded.

  • maxWebsocketFrameSize = null

    Set the max websocket frame size

  • pemKeyCertOptions = null
  • pemTrustOptions = null
  • pfxKeyCertOptions = null
  • pfxTrustOptions = null
  • pipelining = null

    Set whether pipe-lining is enabled on the client

  • protocolVersion = null

    Set the protocol version.

  • receiveBufferSize = null
  • reuseAddress = null
  • sendBufferSize = null
  • soLinger = null
  • ssl = null
  • tcpKeepAlive = null
  • tcpNoDelay = null
  • trafficClass = null
  • trustAll = null
  • trustStoreOptions = null
  • tryUseCompression = null

    Set whether compression is enabled

  • usePooledBuffers = null
  • verifyHost = null

    Set whether hostname verification is enabled

Attributes
defaultHostshared String? defaultHost

Set the default host name to be used by this client in requests if none is provided when making the request.

defaultPortshared Integer? defaultPort

Set the default port to be used by this client in requests if none is provided when making the request.

keepAliveshared Boolean? keepAlive

Set whether keep alive is enabled on the client

maxChunkSizeshared Integer? maxChunkSize

Set the maximum HTTP chunk size

maxPoolSizeshared Integer? maxPoolSize

Set the maximum pool size for connections

maxWaitQueueSizeshared Integer? maxWaitQueueSize

Set the maximum requests allowed in the wait queue, any requests beyond the max size will result in a ConnectionPoolTooBusyException. If the value is set to a negative number then the queue will be unbounded.

maxWebsocketFrameSizeshared Integer? maxWebsocketFrameSize

Set the max websocket frame size

pipeliningshared Boolean? pipelining

Set whether pipe-lining is enabled on the client

protocolVersionshared HttpVersion? protocolVersion

Set the protocol version.

tryUseCompressionshared Boolean? tryUseCompression

Set whether compression is enabled

verifyHostshared Boolean? verifyHost

Set whether hostname verification is enabled

Inherited Attributes
Attributes inherited from: ClientOptionsBase
Attributes inherited from: NetworkOptions
Attributes inherited from: Object
hash, string
Attributes inherited from: TCPSSLOptions
Methods
toJsonshared actual default JsonObject toJson()
Refines ClientOptionsBase.toJson ultimately refines BaseDataObject.toJson
Inherited Methods
Methods inherited from: ClientOptionsBase
Methods inherited from: NetworkOptions
Methods inherited from: Object
equals
Methods inherited from: TCPSSLOptions
Methods inherited from: BaseDataObject
toJson