|
||||||||||
| 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
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.
| Field Summary |
|---|
| Fields inherited from class com.basho.riak.client.response.HttpResponseDecorator |
|---|
impl |
| Constructor Summary | |
|---|---|
StoreResponse(HttpResponse r)
On a 2xx response, parses the HTTP headers into updated object metadata. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLastmod()
The object's last modified date or null if Riak didn't return one. |
java.lang.String |
getVclock()
The object's updated vclock or null if Riak didn't return one. |
java.lang.String |
getVtag()
The object's updated etag or null if Riak didn't return one. |
| Methods inherited from class com.basho.riak.client.response.HttpResponseDecorator |
|---|
close, getBody, getBodyAsString, getBucket, getHttpHeaders, getHttpMethod, 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, getKey, getStatusCode, getStream, isError, isStreamed, isSuccess |
| Constructor Detail |
|---|
public StoreResponse(HttpResponse r)
| Method Detail |
|---|
public java.lang.String getVclock()
public java.lang.String getLastmod()
public java.lang.String getVtag()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||