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, toString
protected Optional<String> parse(@Nullable String input)
AbstractParam
parse
in class AbstractParam<Optional<String>>
input
- the raw inputinput
, parsed as an instance of T
Copyright © 2019. All rights reserved.