| Package | Description |
|---|---|
| com.vmware.vapi.protocol |
| Modifier and Type | Method and Description |
|---|---|
HttpConfiguration.Builder |
HttpConfiguration.Builder.setConnectTimeout(int connectTimeout)
Sets the amount of time the client is going to wait for establishing
a connection with the target API endpoint.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.setHeadersProvider(HttpConfiguration.HeadersProvider headersProvider)
Sets a callback instance that gets invoked upon each request.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.setIoThreadCount(int ioThreadCount)
Defines the number of I/O dispatch threads to be used by the I/O
reactor of the third-party HTTP library.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.setKeepAlivePeriod(long keepAlivePeriod)
Sets the maximum time a connection is allowed to be kept alive.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.setLibraryType(HttpConfiguration.LibType libraryType)
Sets the type of the HTTP library to be used for execution of
API requests.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.setMaxConnections(int maxConnections)
Sets the maximum number of outstanding TCP connections.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.setMaxResponseSize(int maxResponseSize)
Set the maximum allowed size of the content of the response that the
client can consume in bytes.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.setProtocol(HttpConfiguration.Protocol protocol)
Sets the vAPI Protocol that is used by client to
invoke APIs on the server.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.setProxyConfiguration(HttpConfiguration.ProxyConfiguration proxyConfiguration)
Sets the proxy configuration object used to configure proxy settings on the client.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.setSoTimeout(int soTimeout)
Sets the amount of time (in milliseconds) the client is going to wait
for a response before timing out.
|
HttpConfiguration.Builder |
HttpConfiguration.Builder.setSslConfiguration(HttpConfiguration.SslConfiguration sslConfig)
Sets the SSL configuration for executing request over HTTPs, including
trust store for validating server certificate, and optionally key store
for presenting client certificate (SSl mutual authentication).
|
Copyright © 2023. All rights reserved.