public class CreateFileUploadSessionCommitByUrlHeaders extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateFileUploadSessionCommitByUrlHeaders.Builder |
| Modifier and Type | Field and Description |
|---|---|
String |
digest
The [RFC3230][1] message digest of the whole file.
|
Map<String,String> |
extraHeaders
Extra headers that will be included in the HTTP request.
|
String |
ifMatch
Ensures this item hasn't recently changed before making changes.
|
String |
ifNoneMatch
Ensures an item is only returned if it has changed.
|
| Modifier | Constructor and Description |
|---|---|
protected |
CreateFileUploadSessionCommitByUrlHeaders(CreateFileUploadSessionCommitByUrlHeaders.Builder builder) |
|
CreateFileUploadSessionCommitByUrlHeaders(String digest) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDigest() |
Map<String,String> |
getExtraHeaders() |
String |
getIfMatch() |
String |
getIfNoneMatch() |
public final String digest
Only SHA1 is supported. The SHA1 digest must be Base64 encoded. The format of this header is as `sha=BASE64_ENCODED_DIGEST`.
[1]: https://tools.ietf.org/html/rfc3230
public String ifMatch
Pass in the item's last observed `etag` value into this header and the endpoint will fail with a `412 Precondition Failed` if it has changed since.
public String ifNoneMatch
Pass in the item's last observed `etag` value into this header and the endpoint will fail with a `304 Not Modified` if the item has not changed since.
public Map<String,String> extraHeaders
public CreateFileUploadSessionCommitByUrlHeaders(String digest)
protected CreateFileUploadSessionCommitByUrlHeaders(CreateFileUploadSessionCommitByUrlHeaders.Builder builder)
public String getIfMatch()
public String getIfNoneMatch()
public Map<String,String> getExtraHeaders()