Uses of Class
com.couchbase.client.java.cluster.api.AsyncRestBuilder
Package | Description |
---|---|
com.couchbase.client.java.cluster.api |
-
Uses of AsyncRestBuilder in com.couchbase.client.java.cluster.api
Methods in com.couchbase.client.java.cluster.api that return AsyncRestBuilder Modifier and Type Method Description AsyncRestBuilder
AsyncRestBuilder. accept(String type)
Sets the "Accept" standard header's value.AsyncRestBuilder
AsyncRestBuilder. body(JsonValue jsonBody)
Sets the body for the request, assuming it is JSON.AsyncRestBuilder
AsyncRestBuilder. body(String jsonBody)
Sets the body for the request, assuming it is JSON.AsyncRestBuilder
AsyncRestBuilder. bodyForm(Form form)
Sets the body for the request to be an url-encoded form.AsyncRestBuilder
AsyncRestBuilder. bodyRaw(String body)
Sets the body for the request without assuming a Content-Type or Accept header.AsyncRestBuilder
AsyncRestBuilder. contentType(String type)
Sets the "Content-Type" standard header's value.protected AsyncRestBuilder
AsyncClusterApiClient. createBuilder(com.couchbase.client.deps.io.netty.handler.codec.http.HttpMethod method, String fullPath)
AsyncRestBuilder
AsyncRestBuilder. withHeader(String key, Object value)
Adds an HTTP header to the request.AsyncRestBuilder
AsyncRestBuilder. withParam(String key, String value)
Adds an URL query parameter to the request.Constructors in com.couchbase.client.java.cluster.api with parameters of type AsyncRestBuilder Constructor Description RestBuilder(AsyncRestBuilder asyncBuilder, long defaultTimeout, TimeUnit defaultTimeUnit)