Package com.couchbase.client.core.msg
Interface NonChunkedHttpRequest<R extends Response>
- All Superinterfaces:
Encodable<com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest>
,Request<R>
- All Known Implementing Classes:
CoreHttpRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
If true, a non-2xx HTTP status code must be reported as anHttpStatusCodeException
.decode
(com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpResponse response, HttpChannelContext context) 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.FullHttpResponse response, HttpChannelContext context) -
bypassExceptionTranslation
default boolean bypassExceptionTranslation()If true, a non-2xx HTTP status code must be reported as anHttpStatusCodeException
. This lets users see the raw HTTP response when making their own HTTP requests with CouchbaseHttpClient.If false, the message handler may throw a domain-specific exception instead.
-