@Deprecated public interface RequestParameters
Modifier and Type | Method and Description |
---|---|
RequestParameter |
body()
Deprecated.
Return request body
|
RequestParameter |
cookieParameter(String name)
Deprecated.
Get cookie parameter by name
|
List<String> |
cookieParametersNames()
Deprecated.
Get list of all parameter names inside cookie
|
RequestParameter |
formParameter(String name)
Deprecated.
Get form parameter by name
|
List<String> |
formParametersNames()
Deprecated.
Get list of all parameter names inside body form
|
RequestParameter |
headerParameter(String name)
Deprecated.
Get header parameter by name
|
List<String> |
headerParametersNames()
Deprecated.
Get list of all parameter names inside header
|
RequestParameter |
pathParameter(String name)
Deprecated.
Get path parameter by name
|
List<String> |
pathParametersNames()
Deprecated.
Get list of all parameter names inside path
|
RequestParameter |
queryParameter(String name)
Deprecated.
Get query parameter by name
|
List<String> |
queryParametersNames()
Deprecated.
Get list of all parameter names inside query
|
JsonObject |
toJson()
Deprecated.
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 |
List<String> pathParametersNames()
RequestParameter pathParameter(String name)
name
- Parameter nameList<String> queryParametersNames()
RequestParameter queryParameter(String name)
name
- Parameter nameList<String> headerParametersNames()
RequestParameter headerParameter(String name)
name
- Parameter nameList<String> cookieParametersNames()
RequestParameter cookieParameter(String name)
name
- Parameter nameList<String> formParametersNames()
RequestParameter formParameter(String name)
name
- Parameter nameRequestParameter body()
JsonObject toJson()
Copyright © 2024 Eclipse. All rights reserved.