| Package | Description |
|---|---|
| com.couchbase.client.java.http |
| Modifier and Type | Method and Description |
|---|---|
static NameValuePairs |
NameValuePairs.of(List<NameValuePair> pairs)
Returns a new instance that may have repeated names (for example, "number=1&number=2").
|
static NameValuePairs |
NameValuePairs.of(Map<String,?> map)
Returns a new instance using the entries of the given map in the map's iteration order.
|
static NameValuePairs |
NameValuePairs.of(NameValuePair... pairs)
Returns a new instance that may have repeated names (for example, "number=1&number=2").
|
static NameValuePairs |
NameValuePairs.ofPreEncoded(String preEncoded)
Returns an instance that uses the given string as-is.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpBody |
HttpBody.form(NameValuePairs data)
Creates an HTTP body with content type "application/x-www-form-urlencoded" and the given form data.
|
Copyright © 2024 Couchbase, Inc.. All rights reserved.