Package | Description |
---|---|
io.vertx.reactivex.ext.web.api | |
io.vertx.reactivex.ext.web.api.validation |
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<RequestParameter> |
RequestParameter.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
RequestParameter |
RequestParameters.body()
Return request body
|
RequestParameter |
RequestParameters.cookieParameter(String name)
Get cookie parameter by name
|
static RequestParameter |
RequestParameter.create(Object value) |
static RequestParameter |
RequestParameter.create(String name,
Object value) |
RequestParameter |
RequestParameters.formParameter(String name)
Get form parameter by name
|
RequestParameter |
RequestParameter.getObjectValue(String key)
If value is a map of fields, it returns value of field with key provided, otherwise it returns null
|
RequestParameter |
RequestParameters.headerParameter(String name)
Get header parameter by name
|
RequestParameter |
RequestParameter.merge(RequestParameter otherParameter)
Merge this request parameter with another one.
|
static RequestParameter |
RequestParameter.newInstance(RequestParameter arg) |
RequestParameter |
RequestParameters.pathParameter(String name)
Get path parameter by name
|
RequestParameter |
RequestParameters.queryParameter(String name)
Get query parameter by name
|
Modifier and Type | Method and Description |
---|---|
List<RequestParameter> |
RequestParameter.getArray()
Returns null if value is not a list, otherwise it returns value
|
Modifier and Type | Method and Description |
---|---|
RequestParameter |
RequestParameter.merge(RequestParameter otherParameter)
Merge this request parameter with another one.
|
Modifier and Type | Method and Description |
---|---|
RequestParameter |
ParameterTypeValidator.isValid(String value)
Function that checks if parameter is valid.
|
RequestParameter |
ParameterTypeValidator.isValidCollection(List<String> value)
Function that checks if array of values of a specific parameter.
|
RequestParameter |
ParameterValidationRule.validateArrayParam(List<String> value)
This function will be called when there is a List
|
RequestParameter |
ParameterValidationRule.validateSingleParam(String value)
This function will be called when there is only a string as parameter.
|
Copyright © 2023 Eclipse. All rights reserved.