public final class HttpReadSettings extends StoreReadSettings
Constructor and Description |
---|
HttpReadSettings() |
Modifier and Type | Method and Description |
---|---|
Object |
getAdditionalHeaders()
Get the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.
|
Object |
getPartitionRootPath()
Get the partitionRootPath property: Specify the root path where partition discovery starts from.
|
Object |
getRequestBody()
Get the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST.
|
Object |
getRequestMethod()
Get the requestMethod property: The HTTP method used to call the RESTful API.
|
Object |
getRequestTimeout()
Get the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server.
|
Boolean |
isEnablePartitionDiscovery()
Get the enablePartitionDiscovery property: Indicates whether to enable partition discovery.
|
HttpReadSettings |
setAdditionalHeaders(Object additionalHeaders)
Set the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.
|
HttpReadSettings |
setEnablePartitionDiscovery(Boolean enablePartitionDiscovery)
Set the enablePartitionDiscovery property: Indicates whether to enable partition discovery.
|
HttpReadSettings |
setPartitionRootPath(Object partitionRootPath)
Set the partitionRootPath property: Specify the root path where partition discovery starts from.
|
HttpReadSettings |
setRequestBody(Object requestBody)
Set the requestBody property: The HTTP request body to the RESTful API if requestMethod is POST.
|
HttpReadSettings |
setRequestMethod(Object requestMethod)
Set the requestMethod property: The HTTP method used to call the RESTful API.
|
HttpReadSettings |
setRequestTimeout(Object requestTimeout)
Set the requestTimeout property: Specifies the timeout for a HTTP client to get HTTP response from HTTP server.
|
getAdditionalProperties, getMaxConcurrentConnections, setAdditionalProperties, setMaxConcurrentConnections
public Object getRequestMethod()
public HttpReadSettings setRequestMethod(Object requestMethod)
requestMethod
- the requestMethod value to set.public Object getRequestBody()
public HttpReadSettings setRequestBody(Object requestBody)
requestBody
- the requestBody value to set.public Object getAdditionalHeaders()
public HttpReadSettings setAdditionalHeaders(Object additionalHeaders)
additionalHeaders
- the additionalHeaders value to set.public Object getRequestTimeout()
public HttpReadSettings setRequestTimeout(Object requestTimeout)
requestTimeout
- the requestTimeout value to set.public Boolean isEnablePartitionDiscovery()
public HttpReadSettings setEnablePartitionDiscovery(Boolean enablePartitionDiscovery)
enablePartitionDiscovery
- the enablePartitionDiscovery value to set.public Object getPartitionRootPath()
public HttpReadSettings setPartitionRootPath(Object partitionRootPath)
partitionRootPath
- the partitionRootPath value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.