private static class ServletRequestUtils.BooleanParser extends ServletRequestUtils.ParameterParser<java.lang.Boolean>
Modifier | Constructor and Description |
---|---|
private |
BooleanParser() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Boolean |
doParse(java.lang.String parameter) |
protected java.lang.String |
getType() |
boolean |
parseBoolean(java.lang.String name,
java.lang.String parameter) |
boolean[] |
parseBooleans(java.lang.String name,
java.lang.String[] values) |
parse, validateRequiredParameter
protected java.lang.String getType()
getType
in class ServletRequestUtils.ParameterParser<java.lang.Boolean>
protected java.lang.Boolean doParse(java.lang.String parameter) throws java.lang.NumberFormatException
doParse
in class ServletRequestUtils.ParameterParser<java.lang.Boolean>
java.lang.NumberFormatException
public boolean parseBoolean(java.lang.String name, java.lang.String parameter) throws ServletRequestBindingException
ServletRequestBindingException
public boolean[] parseBooleans(java.lang.String name, java.lang.String[] values) throws ServletRequestBindingException
ServletRequestBindingException