com.basho.riak.client.response
Interface WithBodyResponse

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

Deprecated. with the addition of a protocol buffers client in 0.14 all the existing REST client code should be in client.http.* this class has therefore been moved. Please use com.basho.riak.client.http.response.WithBodyResponse instead.

WARNING: This class will be REMOVED in the next version.

@Deprecated
public interface WithBodyResponse
extends HttpResponse

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

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

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

Method Detail

hasObject

boolean hasObject()
Deprecated. 

getObject

RiakObject getObject()
Deprecated. 

hasSiblings

boolean hasSiblings()
Deprecated. 

getSiblings

Collection<RiakObject> getSiblings()
Deprecated. 


Copyright © 2012. All Rights Reserved.