|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @Inherited @InterceptorBinding public @interface ValidateRequest
Triggers validation of incomming HTTP requests. The 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
validateMessageBody()
, #validateFormParameters()
and
validateResourceFields()
attributes.
Optional Element Summary | |
---|---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |