Interface NonChunkedHttpRequest<R extends Response>

  • All Superinterfaces:
    Encodable<>, Request<R>
    All Known Implementing Classes:

    public interface NonChunkedHttpRequest<R extends Response>
    extends Encodable<>, Request<R>
    • Method Detail

      • decode

        R decode​( 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.