Package com.couchbase.client.core.msg
Class BaseResponse
- java.lang.Object
-
- com.couchbase.client.core.msg.BaseResponse
-
- All Implemented Interfaces:
Response
- Direct Known Subclasses:
AnalyticsResponse,BucketConfigResponse,BucketConfigStreamingResponse,CarrierBucketConfigResponse,CarrierGlobalConfigResponse,CoreHttpResponse,GenericManagerResponse,GetCollectionIdResponse,GetCollectionManifestResponse,KeyValueBaseResponse,MultiObserveViaCasResponse,NoopResponse,ObserveViaCasResponse,ObserveViaSeqnoResponse,QueryResponse,RangeScanCancelResponse,RangeScanContinueResponse,RangeScanCreateResponse,SearchResponse,ViewResponse
public class BaseResponse extends Object implements Response
The parent class for all responses passing through the SDK.- Since:
- 2.0.0
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseResponse(ResponseStatus status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseStatusstatus()Holds the status of the response.StringtoString()
-
-
-
Constructor Detail
-
BaseResponse
protected BaseResponse(ResponseStatus status)
-
-
Method Detail
-
status
public ResponseStatus status()
Description copied from interface:ResponseHolds the status of the response.Note that it might indicate a successful response or an error of some other sorts. Please see the enum for further description of the potential states it can be in.
-
-