org.springframework.web.bind
Class ServletRequestUtils.StringParser
java.lang.Object
org.springframework.web.bind.ServletRequestUtils.ParameterParser<java.lang.String>
org.springframework.web.bind.ServletRequestUtils.StringParser
- Enclosing class:
- ServletRequestUtils
private static class ServletRequestUtils.StringParser
- extends ServletRequestUtils.ParameterParser<java.lang.String>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletRequestUtils.StringParser
private ServletRequestUtils.StringParser()
getType
protected java.lang.String getType()
- Specified by:
getType
in class ServletRequestUtils.ParameterParser<java.lang.String>
doParse
protected java.lang.String doParse(java.lang.String parameter)
throws java.lang.NumberFormatException
- Specified by:
doParse
in class ServletRequestUtils.ParameterParser<java.lang.String>
- Throws:
java.lang.NumberFormatException
validateRequiredString
public java.lang.String validateRequiredString(java.lang.String name,
java.lang.String value)
throws ServletRequestBindingException
- Throws:
ServletRequestBindingException
validateRequiredStrings
public java.lang.String[] validateRequiredStrings(java.lang.String name,
java.lang.String[] values)
throws ServletRequestBindingException
- Throws:
ServletRequestBindingException