@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @Inherited @InterceptorBinding public @interface ValidateRequest
Default
group is validated if not specified otherwise. By
default, the following elements are validated: - message body parameter - parameter objects - fields of the JAX-RS resource
This behaviour can be altered using validateMessageBody()
, #validateFormParameters()
and
validateResourceFields()
attributes.Modifier and Type | Optional Element and Description |
---|---|
Class<?>[] |
groups
Validation group that will be used during validation process.
|
boolean |
validateMessageBody
If set to false, the message body parameter will not be validated.
|
boolean |
validateResourceFields
If set to false, the JAX-RS resource fields will not be validated.
|
public abstract Class<?>[] groups
public abstract boolean validateMessageBody
public abstract boolean validateResourceFields
Copyright © 2012 Seam Framework. All Rights Reserved.