Package com.morpheusdata.core.util
Class HttpApiClient.RequestOptions
java.lang.Object
com.morpheusdata.core.util.HttpApiClient.RequestOptions
- Enclosing class:
- HttpApiClient
Options for making an HTTP request.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Oauth options for signing the request. -
Field Summary
Modifier and TypeFieldDescriptionThe API token to include in the request.The body of the request.KeyStore for client certificateorg.apache.http.conn.HttpClientConnectionManager
Override the connection manager used for the client.The connection timeout in milliseconds.The content length of the request body.The content type of the request body.The headers to include in the request.org.apache.http.client.HttpClient
Override the client used for the request.Ignore SSL certificate errors.Oauth options for signing the request.The query parameters to include in the request.The read timeout in milliseconds.Suppress logging of the request and response.URI of the request.The connection timeout in milliseconds. -
Constructor Summary
-
Method Summary
-
Field Details
-
body
The body of the request. -
contentType
The content type of the request body. -
headers
The headers to include in the request. -
queryParams
The query parameters to include in the request. -
suppressLog
Suppress logging of the request and response. -
ignoreSSL
Ignore SSL certificate errors. -
timeout
The connection timeout in milliseconds. Used when ignoreSSL is false. -
connectionTimeout
The connection timeout in milliseconds. -
readTimeout
The read timeout in milliseconds. -
contentLength
The content length of the request body. -
oauth
Oauth options for signing the request. -
apiToken
The API token to include in the request. -
httpClient
public org.apache.http.client.HttpClient httpClientOverride the client used for the request. -
connectionManager
public org.apache.http.conn.HttpClientConnectionManager connectionManagerOverride the connection manager used for the client. -
targetUri
URI of the request. -
clientCertKeyStore
KeyStore for client certificate
-
-
Constructor Details
-
RequestOptions
public RequestOptions()
-