public class NonEmptyStringParam extends AbstractParam<Optional<String>>
Optional.of("").| Constructor and Description |
|---|
NonEmptyStringParam(String input) |
NonEmptyStringParam(String input,
String parameterName) |
| Modifier and Type | Method and Description |
|---|---|
protected Optional<String> |
parse(String input)
Given a string representation, parse it and return an instance of the parameter type.
|
equals, error, errorMessage, get, getErrorStatus, hashCode, mediaType, toStringprotected Optional<String> parse(@Nullable String input)
AbstractParamparse in class AbstractParam<Optional<String>>input - the raw inputinput, parsed as an instance of TCopyright © 2019. All rights reserved.