public interface ParameterRequest
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
get(String key)
Get parameter's value by key
|
default Optional<String[]> |
getList(String key)
Get a list of strings of values
|
<T> Optional<T[]> |
getList(String key,
Class<T> type)
Get a list of values
|
Optional<String> get(String key)
key - a string represents for key<T> Optional<T[]> getList(String key, Class<T> type) throws UnsupportedOperationException
T - type of valuekey - a string represents for keytype - class of valueUnsupportedOperationException - if type is not supportedCopyright © 2019. All rights reserved.