Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<RequestParameters> |
__TYPE_ARG |
Constructor and Description |
---|
RequestParameters(Object delegate) |
RequestParameters(RequestParameters delegate) |
Modifier and Type | Method and Description |
---|---|
RequestParameter |
body()
Return request body when parsed.
|
RequestParameter |
cookieParameter(String name)
Get cookie parameter by name
|
List<String> |
cookieParametersNames()
Get list of all parameter names inside cookie
|
boolean |
equals(Object o) |
RequestParameters |
getDelegate() |
int |
hashCode() |
RequestParameter |
headerParameter(String name)
Get header parameter by name.
|
List<String> |
headerParametersNames()
Get list of all parameter names inside header
|
static RequestParameters |
newInstance(RequestParameters arg) |
RequestParameter |
pathParameter(String name)
Get path parameter by name
|
List<String> |
pathParametersNames()
Get list of all parameter names inside path
|
RequestParameter |
queryParameter(String name)
Get query parameter by name
|
List<String> |
queryParametersNames()
Get list of all parameter names inside query
|
JsonObject |
toJson()
This method converts RequestParameters in an unique JsonObject with 6 fields: cookie, path, query, header, form, body
cookie, path, query, header, form are JsonObject where keys are param names and values are param values, while body depends on body's shape and may not exist |
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<RequestParameters> __TYPE_ARG
public RequestParameters(RequestParameters delegate)
public RequestParameters(Object delegate)
public RequestParameters getDelegate()
public List<String> pathParametersNames()
public RequestParameter pathParameter(String name)
name
- Parameter namepublic List<String> queryParametersNames()
public RequestParameter queryParameter(String name)
name
- Parameter namepublic List<String> headerParametersNames()
public RequestParameter headerParameter(String name)
name
- Parameter namepublic List<String> cookieParametersNames()
public RequestParameter cookieParameter(String name)
name
- Parameter namepublic RequestParameter body()
public JsonObject toJson()
public static RequestParameters newInstance(RequestParameters arg)
Copyright © 2024 Eclipse. All rights reserved.