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 Details

  • Method Details

    • 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.

      Specified by:
      status in interface Response
      Returns:
      the status for this response.
    • toString

      public String toString()
      Overrides:
      toString in class Object