|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jwarp.service.web.util.WebParamValidator
This is a class to describe one parameter.
| Method Summary | |
static void |
validate(javax.servlet.http.HttpServletRequest req,
IParameterDescription descr)
validate a parameter description to the given request. |
static void |
validateContents(javax.servlet.http.HttpServletRequest req,
IParameterDescription descr)
Validates content of a parameter implemented: INTEGER FLOAT DOUBLE LONG BOOLEAN not yet implemented: TIME DATE DATETIME if requiredType == CHECKED the validate function is called |
static void |
validateExistence(javax.servlet.http.HttpServletRequest req,
IParameterDescription descr)
Checks existence of NOT_EMPTY parameter |
| Methods inherited from class java.lang.Object |
|
| Method Detail |
public static void validate(javax.servlet.http.HttpServletRequest req,
IParameterDescription descr)
throws ParameterNotFoundException,
ParameterException
req - The http requestdescr - The parameter descriptionParameterNotFoundException - if a NOT_NULL parameter is missingParameterException - if the parameter is not valid
public static void validateExistence(javax.servlet.http.HttpServletRequest req,
IParameterDescription descr)
throws ParameterNotFoundException
req - The requestParameterNotFoundException - if a NOT_NULL parameter is missing
public static void validateContents(javax.servlet.http.HttpServletRequest req,
IParameterDescription descr)
throws ParameterException
context - The servletreq - The requestParameterException - if validation fails
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||