public class StoreResponse extends HttpResponseDecorator implements WithBodyResponse
impl
Constructor and Description |
---|
StoreResponse(FetchResponse fetchResponse)
On a 2xx response, parses the HTTP headers into updated object metadata.
|
Modifier and Type | Method and Description |
---|---|
String |
getLastmod()
The object's last modified date or null if Riak didn't return one.
|
RiakObject |
getObject() |
Collection<RiakObject> |
getSiblings() |
String |
getVclock()
The object's updated vclock or null if Riak didn't return one.
|
String |
getVtag()
The object's updated etag or null if Riak didn't return one.
|
boolean |
hasObject() |
boolean |
hasSiblings() |
close, getBody, getBodyAsString, getBucket, getHttpHeaders, getHttpMethod, getHttpResponse, getKey, getStatusCode, getStream, isError, isStreamed, isSuccess
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getBody, getBodyAsString, getBucket, getHttpHeaders, getHttpMethod, getHttpResponse, getKey, getStatusCode, getStream, isError, isStreamed, isSuccess
public StoreResponse(FetchResponse fetchResponse)
public String getVclock()
getVclock
in interface WithBodyResponse
public String getLastmod()
public String getVtag()
public boolean hasObject()
hasObject
in interface WithBodyResponse
FetchResponse.hasObject()
public RiakObject getObject()
getObject
in interface WithBodyResponse
FetchResponse.getObject()
public boolean hasSiblings()
hasSiblings
in interface WithBodyResponse
FetchResponse.hasSiblings()
public Collection<RiakObject> getSiblings()
getSiblings
in interface WithBodyResponse
FetchResponse.getSiblings()
Copyright © 2014. All Rights Reserved.