public class UpdateObjectRequest extends PutObjectRequest<UpdateObjectRequest>
Modifier and Type | Field and Description |
---|---|
protected Range |
range |
acl, content, contentLength, contentType, userMetadata, wsChecksum
identifier
Constructor and Description |
---|
UpdateObjectRequest() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.List<java.lang.Object>> |
generateHeaders()
Returns the HTTP headers to send in this request, to be generated from other request properties immediately
before sending.
|
java.lang.String |
getMethod()
Returns the HTTP method this request will use.
|
Range |
getRange()
Returns the byte range for this update request.
|
java.lang.String |
getServiceRelativePath()
Returns the service-relative path of this request (i.e.
|
protected UpdateObjectRequest |
me()
Returns "this" in concrete implementation classes.
|
UpdateObjectRequest |
range(Range range)
Builder method for
setRange(com.emc.atmos.api.Range) |
void |
setRange(Range range)
Sets the byte range for this update request (the range of bytes to update in the target object).
|
acl, content, contentLength, contentType, getAcl, getContent, getContentLength, getContentType, getServerGeneratedChecksumAlgorithm, getUserMetadata, getWsChecksum, serverGeneratedChecksumAlgorithm, setAcl, setContent, setContentLength, setContentType, setServerGeneratedChecksumAlgorithm, setUserMetadata, setWsChecksum, supports100Continue, userMetadata, wsChecksum
getIdentifier, identifier, setIdentifier
protected Range range
public java.lang.String getServiceRelativePath()
Request
getServiceRelativePath
in class Request
public java.lang.String getMethod()
Request
public java.util.Map<java.lang.String,java.util.List<java.lang.Object>> generateHeaders()
Request
generateHeaders
in class PutObjectRequest<UpdateObjectRequest>
protected UpdateObjectRequest me()
ObjectRequest
new CreateObjectRequest().identifier(path).content(content)
.me
in class ObjectRequest<UpdateObjectRequest>
public UpdateObjectRequest range(Range range)
setRange(com.emc.atmos.api.Range)
public Range getRange()
public void setRange(Range range)