|
||||||||||
| 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.WalkResponse
public class WalkResponse
Response from a GET request for an object with link walking. Decorates an HttpResponse to interpret walk responses from Riak which returns multipart/mixed documents.
| Field Summary |
|---|
| Fields inherited from class com.basho.riak.client.response.HttpResponseDecorator |
|---|
impl |
| Constructor Summary | |
|---|---|
WalkResponse(HttpResponse r)
|
|
WalkResponse(HttpResponse r,
RiakClient riak)
On a 2xx response, parses the HTTP body into a list of steps. |
|
| Method Summary | |
|---|---|
java.util.List<? extends java.util.List<RiakObject>> |
getSteps()
Steps accumulated from link walking. |
boolean |
hasSteps()
Whether objects were contained in the response |
| 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 WalkResponse(HttpResponse r,
RiakClient riak)
throws RiakResponseRuntimeException
RiakResponseRuntimeException
public WalkResponse(HttpResponse r)
throws RiakResponseRuntimeException
RiakResponseRuntimeException| Method Detail |
|---|
public boolean hasSteps()
public java.util.List<? extends java.util.List<RiakObject>> getSteps()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||