Package | Description |
---|---|
com.couchbase.client.java.cluster.api |
Modifier and Type | Method and Description |
---|---|
RestBuilder |
RestBuilder.accept(String type)
Sets the “Accept” standard header’s value.
|
RestBuilder |
RestBuilder.body(JsonValue jsonBody)
Sets the body for the request, assuming it is JSON.
|
RestBuilder |
RestBuilder.body(String jsonBody)
Sets the body for the request, assuming it is JSON.
|
RestBuilder |
RestBuilder.bodyForm(Form form)
Sets the body for the request to be an url-encoded form.
|
RestBuilder |
RestBuilder.bodyRaw(String body)
Sets the body for the request without assuming a Content-Type or Accept header.
|
RestBuilder |
RestBuilder.contentType(String type)
Sets the “Content-Type” standard header’s value.
|
protected RestBuilder |
ClusterApiClient.createBuilder(com.couchbase.client.deps.io.netty.handler.codec.http.HttpMethod method,
String fullPath) |
RestBuilder |
RestBuilder.withHeader(String key,
Object value)
Adds an HTTP header to the request.
|
RestBuilder |
RestBuilder.withParam(String key,
String value)
Adds an URL query parameter to the request.
|
Copyright © 2015 Couchbase, Inc.