public final class InputValidation extends Object
Modifier and Type | Method and Description |
---|---|
static <T> void |
validateRequest(T request)
Validate a given request object using its JSR 303 annotations
|
static <T> void |
validateRequest(T request,
CachingValidator validator)
Validate a given request object using its JSR 303 annotations and the given validator
|
public static <T> void validateRequest(T request, CachingValidator validator) throws InvalidRequestException
T
- request
- validator
- InvalidRequestException
public static <T> void validateRequest(T request) throws InvalidRequestException
T
- request
- InvalidRequestException