Package com.microsoft.azure.storage.blob
Class CommonRestResponse
- java.lang.Object
-
- com.microsoft.azure.storage.blob.CommonRestResponse
-
public final class CommonRestResponse extends Object
A generic wrapper for any type of blob REST API response. Used and returned by methods in theTransferManagerclass. The methods there return this type because they represent composite operations which may conclude with any of several possible REST calls depending on the data provided.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTimedate()StringeTag()OffsetDateTimelastModified()StringrequestId()com.microsoft.rest.v2.RestResponseresponse()intstatusCode()Stringversion()
-
-
-
Method Detail
-
statusCode
public int statusCode()
- Returns:
- The status code for the response
-
eTag
public String eTag()
- Returns:
- An HTTP Etag for the blob at the time of the request.
-
lastModified
public OffsetDateTime lastModified()
- Returns:
- The time when the blob was last modified.
-
requestId
public String requestId()
- Returns:
- The id of the service request for which this is the response.
-
date
public OffsetDateTime date()
- Returns:
- The date of the response.
-
version
public String version()
- Returns:
- The service version responding to the request.
-
response
public com.microsoft.rest.v2.RestResponse response()
- Returns:
- The underlying response.
-
-