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

public interface NonChunkedHttpRequest<R extends Response> extends Encodable<com.couchbase.client.core.deps.io.netty.handler.codec.http.FullHttpRequest>, Request<R>
  • 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 an 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.