private static class ServletRequestUtils.IntParser extends ServletRequestUtils.ParameterParser<java.lang.Integer>
Modifier | Constructor and Description |
---|---|
private |
IntParser() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Integer |
doParse(java.lang.String s) |
protected java.lang.String |
getType() |
int |
parseInt(java.lang.String name,
java.lang.String parameter) |
int[] |
parseInts(java.lang.String name,
java.lang.String[] values) |
parse, validateRequiredParameter
protected java.lang.String getType()
getType
in class ServletRequestUtils.ParameterParser<java.lang.Integer>
protected java.lang.Integer doParse(java.lang.String s) throws java.lang.NumberFormatException
doParse
in class ServletRequestUtils.ParameterParser<java.lang.Integer>
java.lang.NumberFormatException
public int parseInt(java.lang.String name, java.lang.String parameter) throws ServletRequestBindingException
ServletRequestBindingException
public int[] parseInts(java.lang.String name, java.lang.String[] values) throws ServletRequestBindingException
ServletRequestBindingException