public class YearParam extends AbstractParam<Year>
400 Bad
Request
response.YearMonth
Modifier and Type | Method and Description |
---|---|
protected Year |
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 Year parse(@Nullable String input) throws Exception
AbstractParam
parse
in class AbstractParam<Year>
input
- the raw inputinput
, parsed as an instance of T
Exception
- if there is an error parsing the inputCopyright © 2019. All rights reserved.