Options describing how an HttpClient will make connections.
AnythingHttpClientOptionsBaseDataObjectClientOptionsBaseBaseDataObjectTCPSSLOptionsBaseDataObjectNetworkOptionsBaseDataObjectBasicIdentifiableObjectAnythingno subtypes hierarchy
| 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:
|
| Attributes | |
defaultHost | shared String? defaultHostSet the default host name to be used by this client in requests if none is provided when making the request. |
defaultPort | shared Integer? defaultPortSet the default port to be used by this client in requests if none is provided when making the request. |
keepAlive | shared Boolean? keepAliveSet whether keep alive is enabled on the client |
maxChunkSize | shared Integer? maxChunkSizeSet the maximum HTTP chunk size |
maxPoolSize | shared Integer? maxPoolSizeSet the maximum pool size for connections |
maxWaitQueueSize | shared Integer? maxWaitQueueSizeSet 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 | shared Integer? maxWebsocketFrameSizeSet the max websocket frame size |
pipelining | shared Boolean? pipeliningSet whether pipe-lining is enabled on the client |
protocolVersion | shared HttpVersion? protocolVersionSet the protocol version. |
tryUseCompression | shared Boolean? tryUseCompressionSet whether compression is enabled |
verifyHost | shared Boolean? verifyHostSet whether hostname verification is enabled |
| Inherited Attributes |
Attributes inherited from: ClientOptionsBase |
Attributes inherited from: NetworkOptions |
Attributes inherited from: Objecthash, string |
Attributes inherited from: TCPSSLOptions |
| Methods | |
toJson | shared actual default JsonObject toJson() |
| Inherited Methods |
Methods inherited from: ClientOptionsBase |
Methods inherited from: NetworkOptions |
Methods inherited from: Objectequals |
Methods inherited from: TCPSSLOptions |
Methods inherited from: BaseDataObjecttoJson |