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 Summary
Methods inherited from interface com.couchbase.client.core.msg.Request
absoluteTimeout, bucket, cancel, cancel, cancellationReason, cancelled, completed, context, createdAt, fail, failed, id, idempotent, name, operationId, requestSpan, response, retryStrategy, serviceContext, serviceType, succeed, succeeded, target, timeout, timeoutElapsed, timeoutRegistration
-
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.
-