public class HttpProtocol extends Object
Constructor and Description |
---|
HttpProtocol() |
Modifier and Type | Method and Description |
---|---|
static ResponseStatus |
decodeStatus(com.couchbase.client.core.deps.io.netty.handler.codec.http.HttpResponseStatus status)
Converts the http protocol status into its generic format.
|
static String |
remoteHttpHost(SocketAddress remoteAddress)
Calculates the remote host for caching so that it is set on each query request.
|
public static String remoteHttpHost(SocketAddress remoteAddress)
remoteAddress
- the remote address.public static ResponseStatus decodeStatus(com.couchbase.client.core.deps.io.netty.handler.codec.http.HttpResponseStatus status)
status
- the protocol status.Copyright © 2020 Couchbase, Inc.. All rights reserved.