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.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.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 © 2016. All Rights Reserved.