Interface ManagerRequest<R extends Response>

All Superinterfaces:
Encodable<com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest>, Request<R>
All Known Implementing Classes:
BaseManagerRequest, BucketConfigRequest, BucketConfigStreamingRequest, GenericManagerRequest

public interface ManagerRequest<R extends Response> extends Request<R>, Encodable<com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest>
Parent interface for all requests going to the cluster manager.
  • Method Details

    • decode

      R decode(com.couchbase.client.core.deps.io.netty.handler.codec.http.HttpResponse response, byte[] content)
      Decodes a manager response into its response entity.
      Parameters:
      response - the http header of the response.
      content - the actual content of the response.
      Returns:
      the decoded value.