HttpGetterInfo Class
- java.
lang. Object - com.
azure. storage. blob. HttpGetterInfo
- com.
public final class HttpGetterInfo
HttpGetterInfo is a passed to the getter function of a reliable download to specify parameters needed for the GET request.
Constructor Summary
| Constructor | Description |
|---|---|
| HttpGetterInfo() |
Creates a new instance of HttpGetterInfo. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
getCount()
Gets the count of bytes used to calculate the end offset when creating the Range header. |
| String |
getETag()
Gets the e |
| long |
getOffset()
Gets the start offset that is used when creating the Range header. |
|
Http |
setCount(Long count)
Sets the count of bytes used to calculate the end offset when creating the Range header. |
|
Http |
setETag(String eTag)
Sets the e |
|
Http |
setOffset(long offset)
Sets the start offset that is used when creating the Range header. |
Methods inherited from java.lang.Object
Constructor Details
HttpGetterInfo
public HttpGetterInfo()
Creates a new instance of HttpGetterInfo.
Method Details
getCount
public Long getCount()
Gets the count of bytes used to calculate the end offset when creating the Range header. null is the default and indicates that the entire rest of the blob should be retrieved.
Returns:
getETag
public String getETag()
Gets the eTag used when creating If-Match header. eTag is returned with any operation that modifies the resource and when retrieving properties. Defaults to null.
Returns:
getOffset
public long getOffset()
Gets the start offset that is used when creating the Range header. If unchanged this will default to 0.
Returns:
setCount
public HttpGetterInfo setCount(Long count)
Sets the count of bytes used to calculate the end offset when creating the Range header. null is the default and indicates that the entire rest of the blob should be retrieved.
Parameters:
Returns:
setETag
public HttpGetterInfo setETag(String eTag)
Sets the eTag used when creating If-Match header. eTag is returned with any operation that modifies the resource and when retrieving properties. Defaults to null.
Parameters:
Returns:
setOffset
public HttpGetterInfo setOffset(long offset)
Sets the start offset that is used when creating the Range header. If unchanged this will default to 0.
Parameters:
Returns: