public final class RestSink extends CopySink
Constructor and Description |
---|
RestSink() |
Modifier and Type | Method and Description |
---|---|
Object |
getAdditionalHeaders()
Get the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.
|
Object |
getHttpCompressionType()
Get the httpCompressionType property: Http Compression Type to Send data in compressed format with Optimal
Compression Level, Default is None.
|
Object |
getHttpRequestTimeout()
Get the httpRequestTimeout property: The timeout (TimeSpan) to get an HTTP response.
|
Object |
getRequestInterval()
Get the requestInterval property: The time to await before sending next request, in milliseconds.
|
Object |
getRequestMethod()
Get the requestMethod property: The HTTP method used to call the RESTful API.
|
RestSink |
setAdditionalHeaders(Object additionalHeaders)
Set the additionalHeaders property: The additional HTTP headers in the request to the RESTful API.
|
RestSink |
setHttpCompressionType(Object httpCompressionType)
Set the httpCompressionType property: Http Compression Type to Send data in compressed format with Optimal
Compression Level, Default is None.
|
RestSink |
setHttpRequestTimeout(Object httpRequestTimeout)
Set the httpRequestTimeout property: The timeout (TimeSpan) to get an HTTP response.
|
RestSink |
setRequestInterval(Object requestInterval)
Set the requestInterval property: The time to await before sending next request, in milliseconds.
|
RestSink |
setRequestMethod(Object requestMethod)
Set the requestMethod property: The HTTP method used to call the RESTful API.
|
getAdditionalProperties, getMaxConcurrentConnections, getSinkRetryCount, getSinkRetryWait, getWriteBatchSize, getWriteBatchTimeout, setAdditionalProperties, setMaxConcurrentConnections, setSinkRetryCount, setSinkRetryWait, setWriteBatchSize, setWriteBatchTimeout
public Object getRequestMethod()
public RestSink setRequestMethod(Object requestMethod)
requestMethod
- the requestMethod value to set.public Object getAdditionalHeaders()
public RestSink setAdditionalHeaders(Object additionalHeaders)
additionalHeaders
- the additionalHeaders value to set.public Object getHttpRequestTimeout()
public RestSink setHttpRequestTimeout(Object httpRequestTimeout)
httpRequestTimeout
- the httpRequestTimeout value to set.public Object getRequestInterval()
public RestSink setRequestInterval(Object requestInterval)
requestInterval
- the requestInterval value to set.public Object getHttpCompressionType()
public RestSink setHttpCompressionType(Object httpCompressionType)
httpCompressionType
- the httpCompressionType value to set.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.