public interface NonChunkedHttpRequest<R extends Response> extends Encodable<com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest>, Request<R>
| Modifier and Type | Method and Description |
|---|---|
default boolean |
bypassExceptionTranslation()
If true, a non-2xx HTTP status code must be reported as an
HttpStatusCodeException. |
R |
decode(com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpResponse response,
HttpChannelContext context) |
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, timeoutRegistrationR decode(com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpResponse response, HttpChannelContext context)
default boolean bypassExceptionTranslation()
HttpStatusCodeException.
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.
Copyright © 2024 Couchbase, Inc.. All rights reserved.