Package | Description |
---|---|
com.couchbase.client.java.cluster.api |
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
RestBuilder(AsyncRestBuilder asyncBuilder,
long defaultTimeout,
TimeUnit defaultTimeUnit) |
Copyright © 2015 Couchbase, Inc.