Class HttpProtocol


  • public class HttpProtocol
    extends Object
    Helper methods that need to be used when dealing with the HTTP protocol.
    Since:
    2.0.0
    • Constructor Detail

      • HttpProtocol

        public HttpProtocol()
    • Method Detail

      • decodeStatus

        public static ResponseStatus decodeStatus​(com.couchbase.client.core.deps.io.netty.handler.codec.http.HttpResponseStatus status)
        Converts the http protocol status into its generic format.
        Parameters:
        status - the protocol status.
        Returns:
        the response status.