com.basho.riak.client.http.response
Interface WithBodyResponse

All Superinterfaces:
HttpResponse
All Known Implementing Classes:
FetchResponse, StoreResponse

public interface WithBodyResponse
extends HttpResponse

A unified interface for responses that may return one, or more RiakObjects

Author:
russell
See Also:
FetchResponse}, {@link StoreResponse}

Method Summary
 RiakObject getObject()
           
 Collection<RiakObject> getSiblings()
           
 String getVclock()
           
 boolean hasObject()
           
 boolean hasSiblings()
           
 
Methods inherited from interface com.basho.riak.client.http.response.HttpResponse
close, getBody, getBodyAsString, getBucket, getHttpHeaders, getHttpMethod, getHttpResponse, getKey, getStatusCode, getStream, isError, isStreamed, isSuccess
 

Method Detail

hasObject

boolean hasObject()

getObject

RiakObject getObject()

hasSiblings

boolean hasSiblings()

getSiblings

Collection<RiakObject> getSiblings()

getVclock

String getVclock()


Copyright © 2012. All Rights Reserved.