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, isSuccessclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getBody, getBodyAsString, getBucket, getHttpHeaders, getHttpMethod, getHttpResponse, getKey, getStatusCode, getStream, isError, isStreamed, isSuccesspublic StoreResponse(FetchResponse fetchResponse)
public String getVclock()
getVclock in interface WithBodyResponsepublic String getLastmod()
public String getVtag()
public boolean hasObject()
hasObject in interface WithBodyResponseFetchResponse.hasObject()public RiakObject getObject()
getObject in interface WithBodyResponseFetchResponse.getObject()public boolean hasSiblings()
hasSiblings in interface WithBodyResponseFetchResponse.hasSiblings()public Collection<RiakObject> getSiblings()
getSiblings in interface WithBodyResponseFetchResponse.getSiblings()Copyright © 2014. All Rights Reserved.