public class NonEmptyStringParam extends AbstractParam<com.google.common.base.Optional<String>>
Optional.of("").| Constructor and Description |
|---|
NonEmptyStringParam(String input) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.base.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, toStringpublic NonEmptyStringParam(String input)
protected com.google.common.base.Optional<String> parse(String input) throws Exception
AbstractParamparse in class AbstractParam<com.google.common.base.Optional<String>>input - the raw inputinput, parsed as an instance of TException - if there is an error parsing the inputCopyright © 2015. All rights reserved.