|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.basho.riak.client.response.HttpResponseDecorator
com.basho.riak.client.response.StoreResponse
WARNING: This class will be REMOVED in the next version.
@Deprecated public class StoreResponse
Response from a PUT request for an object. Decorates an HttpResponse to interpret store responses from Riak which returns updated object metadata in HTTP headers.
StoreResponse| Field Summary |
|---|
| Fields inherited from class com.basho.riak.client.response.HttpResponseDecorator |
|---|
impl |
| Constructor Summary | |
|---|---|
StoreResponse(FetchResponse fetchResponse)
Deprecated. On a 2xx response, parses the HTTP headers into updated object metadata. |
|
| Method Summary | |
|---|---|
String |
getLastmod()
Deprecated. The object's last modified date or null if Riak didn't return one. |
RiakObject |
getObject()
Deprecated. |
Collection<RiakObject> |
getSiblings()
Deprecated. |
String |
getVclock()
Deprecated. The object's updated vclock or null if Riak didn't return one. |
String |
getVtag()
Deprecated. The object's updated etag or null if Riak didn't return one. |
boolean |
hasObject()
Deprecated. |
boolean |
hasSiblings()
Deprecated. |
| Methods inherited from class com.basho.riak.client.response.HttpResponseDecorator |
|---|
close, getBody, getBodyAsString, getBucket, getHttpHeaders, getHttpMethod, getHttpResponse, getKey, getStatusCode, getStream, isError, isStreamed, isSuccess |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.basho.riak.client.response.HttpResponse |
|---|
close, getBody, getBodyAsString, getBucket, getHttpHeaders, getHttpMethod, getHttpResponse, getKey, getStatusCode, getStream, isError, isStreamed, isSuccess |
| Constructor Detail |
|---|
public StoreResponse(FetchResponse fetchResponse)
| Method Detail |
|---|
public String getVclock()
public 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||