Class AbstractKeyValueRequest

java.lang.Object
com.couchbase.client.core.message.AbstractCouchbaseRequest
com.couchbase.client.core.message.kv.AbstractKeyValueRequest
All Implemented Interfaces:
CouchbaseMessage, CouchbaseRequest, BinaryRequest
Direct Known Subclasses:
AbstractSubdocRequest, AppendRequest, CounterRequest, GetAllMutationTokensRequest, GetBucketConfigRequest, GetRequest, InsertRequest, KeyValueHandler.KeepAliveRequest, NoopRequest, ObserveRequest, ObserveSeqnoRequest, PrependRequest, RemoveRequest, ReplaceRequest, ReplicaGetRequest, StatRequest, SubMultiLookupRequest, SubMultiMutationRequest, TouchRequest, UnlockRequest, UpsertRequest

public abstract class AbstractKeyValueRequest
extends AbstractCouchbaseRequest
implements BinaryRequest
Default implementation of a BinaryRequest.
Since:
1.0
Author:
Michael Nitschinger
  • Field Details

  • Constructor Details

    • AbstractKeyValueRequest

      protected AbstractKeyValueRequest​(String key, String bucket)
      Parameters:
      key - the key of the document.
      bucket - the bucket of the document.
    • AbstractKeyValueRequest

      protected AbstractKeyValueRequest​(String key, String bucket, String password)
      Parameters:
      key - the key of the document.
      bucket - the bucket of the document.
      password - the password for the bucket.
    • AbstractKeyValueRequest

      protected AbstractKeyValueRequest​(String key, String bucket, String username, String password)
      Parameters:
      key - the key of the document.
      bucket - the bucket of the document.
      username - the user authorized for bucket access.
      password - the password for the user.
    • AbstractKeyValueRequest

      protected AbstractKeyValueRequest​(String key, String bucket, String username, String password, rx.subjects.Subject<CouchbaseResponse,​CouchbaseResponse> observable)
      Parameters:
      key - the key of the document.
      bucket - the bucket of the document.
      username - the user authorized for bucket access.
      password - the optional password of the user.
      observable - the observable which receives responses.
  • Method Details