Package | Description |
---|---|
com.couchbase.client.java.http |
Modifier and Type | Method and Description |
---|---|
HttpBody |
HttpPostOptions.Built.body() |
HttpBody |
HttpPutOptions.Built.body() |
static HttpBody |
HttpBody.form(List<NameValuePair> data)
Creates an HTTP body with content type "application/x-www-form-urlencoded" and the given form data.
|
static HttpBody |
HttpBody.form(Map<String,?> data)
Creates an HTTP body with content type "application/x-www-form-urlencoded" and the given form data.
|
static HttpBody |
HttpBody.form(NameValuePair... data)
Creates an HTTP body with content type "application/x-www-form-urlencoded" and the given form data.
|
static HttpBody |
HttpBody.form(NameValuePairs data)
Creates an HTTP body with content type "application/x-www-form-urlencoded" and the given form data.
|
static HttpBody |
HttpBody.json(byte[] json)
Creates an HTTP body with content type "application/json" and the given content.
|
static HttpBody |
HttpBody.json(String json)
Creates an HTTP body with content type "application/json" and the given content.
|
Modifier and Type | Method and Description |
---|---|
HttpPostOptions |
HttpPostOptions.body(HttpBody body) |
HttpPutOptions |
HttpPutOptions.body(HttpBody body) |
Copyright © 2024 Couchbase, Inc.. All rights reserved.