| Package | Description |
|---|---|
| com.linecorp.armeria.common |
Common types.
|
| com.linecorp.armeria.server |
Server core.
|
| Modifier and Type | Method and Description |
|---|---|
QueryParams |
QueryParamsBuilder.build()
Returns a newly created
QueryParams with the entries in this builder. |
static QueryParams |
QueryParams.fromQueryString(String queryString)
Decodes the specified query string into a
QueryParams, as defined in
4.10.22.6,
HTML5 W3C Recommendation. |
static QueryParams |
QueryParams.fromQueryString(String queryString,
boolean semicolonAsSeparator)
Decodes the specified query string into a
QueryParams, as defined in
4.10.22.6,
HTML5 W3C Recommendation. |
static QueryParams |
QueryParams.fromQueryString(String queryString,
int maxParams)
Decodes the specified query string into a
QueryParams, as defined in
4.10.22.6,
HTML5 W3C Recommendation. |
static QueryParams |
QueryParams.fromQueryString(String queryString,
int maxParams,
boolean semicolonAsSeparator)
Decodes the specified query string into a
QueryParams, as defined in
4.10.22.6,
HTML5 W3C Recommendation. |
static QueryParams |
QueryParams.of()
Returns an empty
QueryParams. |
static QueryParams |
QueryParams.of(String name,
Object value)
Returns a new
QueryParams with the specified parameter. |
static QueryParams |
QueryParams.of(String name1,
Object value1,
String name2,
Object value2)
Returns a new
QueryParams with the specified parameters. |
static QueryParams |
QueryParams.of(String name1,
Object value1,
String name2,
Object value2,
String name3,
Object value3)
Returns a new
QueryParams with the specified parameters. |
static QueryParams |
QueryParams.of(String name1,
Object value1,
String name2,
Object value2,
String name3,
Object value3,
String name4,
Object value4)
Returns a new
QueryParams with the specified parameters. |
static QueryParams |
QueryParams.of(String name,
String value)
Returns a new
QueryParams with the specified parameter. |
static QueryParams |
QueryParams.of(String name1,
String value1,
String name2,
String value2)
Returns a new
QueryParams with the specified parameters. |
static QueryParams |
QueryParams.of(String name1,
String value1,
String name2,
String value2,
String name3,
String value3)
Returns a new
QueryParams with the specified parameters. |
static QueryParams |
QueryParams.of(String name1,
String value1,
String name2,
String value2,
String name3,
String value3,
String name4,
String value4)
Returns a new
QueryParams with the specified parameters. |
default QueryParams |
QueryParams.withMutations(Consumer<QueryParamsBuilder> mutator)
Returns a new parameters which is the result from the mutation by the specified
Consumer. |
| Modifier and Type | Method and Description |
|---|---|
QueryParams |
RoutingContext.params()
Returns the query parameters retrieved from the request path.
|
Copyright © 2020 LeanCloud. All rights reserved.