| Package | Description |
|---|---|
| org.mule.service.http.api.client |
| Modifier and Type | Method and Description |
|---|---|
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setClientSocketProperties(TcpClientSocketProperties clientSocketProperties)
Optionally defines TCP specific properties like the socket connection timeout, for example, via a
TcpClientSocketProperties. |
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setConnectionIdleTimeout(int connectionIdleTimeout)
Defines the number of milliseconds that a connection can remain idle before being closed.
|
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setMaxConnections(int maxConnections)
Defines the maximum number of outbound connections that will be kept open at the same time.
|
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setOwnerName(String ownerName)
Defines the name of the
HttpClient's owner. |
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setProxyConfig(ProxyConfig proxyConfig)
Required when connecting through a proxy, this defines the relevant data to do so using a
ProxyConfig. |
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setThreadNamePrefix(String threadNamePrefix)
Defines the prefix to use to name the
HttpClient's threads. |
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setTlsContextFactory(org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory)
Required exclusively for HTTPS, this defines through a
TlsContextFactory all the TLS related data to establish
such connections. |
HttpClientConfiguration.Builder |
HttpClientConfiguration.Builder.setUsePersistentConnections(boolean usePersistentConnections)
Defines if connections should be kept after a request is completed or closed.
|
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.