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 AsyncRestBuilderAsyncRestBuilder. accept(String type)Sets the "Accept" standard header's value.AsyncRestBuilderAsyncRestBuilder. body(JsonValue jsonBody)Sets the body for the request, assuming it is JSON.AsyncRestBuilderAsyncRestBuilder. body(String jsonBody)Sets the body for the request, assuming it is JSON.AsyncRestBuilderAsyncRestBuilder. bodyForm(Form form)Sets the body for the request to be an url-encoded form.AsyncRestBuilderAsyncRestBuilder. bodyRaw(String body)Sets the body for the request without assuming a Content-Type or Accept header.AsyncRestBuilderAsyncRestBuilder. contentType(String type)Sets the "Content-Type" standard header's value.protected AsyncRestBuilderAsyncClusterApiClient. createBuilder(com.couchbase.client.deps.io.netty.handler.codec.http.HttpMethod method, String fullPath)AsyncRestBuilderAsyncRestBuilder. withHeader(String key, Object value)Adds an HTTP header to the request.AsyncRestBuilderAsyncRestBuilder. 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)