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
,AppendResponse
,BucketConfigResponse
,BucketConfigStreamingResponse
,CarrierBucketConfigResponse
,CarrierGlobalConfigResponse
,CoreHttpResponse
,DecrementResponse
,GenericManagerResponse
,GetAndLockResponse
,GetAndTouchResponse
,GetCollectionIdResponse
,GetCollectionManifestResponse
,GetMetaResponse
,GetResponse
,IncrementResponse
,InsertResponse
,MultiObserveViaCasResponse
,NoopResponse
,ObserveViaCasResponse
,ObserveViaSeqnoResponse
,PrependResponse
,QueryResponse
,RemoveResponse
,ReplaceResponse
,SearchResponse
,SubdocGetResponse
,SubdocMutateResponse
,TouchResponse
,UnlockResponse
,UpsertResponse
,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 protected
BaseResponse(ResponseStatus status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseStatus
status()
Holds the status of the response.String
toString()
-
-
-
Constructor Detail
-
BaseResponse
protected BaseResponse(ResponseStatus status)
-
-
Method Detail
-
status
public ResponseStatus status()
Description copied from interface:Response
Holds 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.
-
-