public class UploadFileVersionHeaders extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UploadFileVersionHeaders.Builder |
| Modifier and Type | Field and Description |
|---|---|
String |
contentMd5
An optional header containing the SHA1 hash of the file to ensure that the file was not
corrupted in transit.
|
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.
|
| Modifier | Constructor and Description |
|---|---|
|
UploadFileVersionHeaders() |
protected |
UploadFileVersionHeaders(UploadFileVersionHeaders.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentMd5() |
Map<String,String> |
getExtraHeaders() |
String |
getIfMatch() |
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 contentMd5
public Map<String,String> extraHeaders
public UploadFileVersionHeaders()
protected UploadFileVersionHeaders(UploadFileVersionHeaders.Builder builder)
public String getIfMatch()
public String getContentMd5()
public Map<String,String> getExtraHeaders()