|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork2.interceptor.AbstractInterceptor
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor
com.opensymphony.xwork2.validator.ValidationInterceptor
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor
public class AnnotationValidationInterceptor
Extends the xwork validation interceptor to also check for a @SkipValidation annotation, and if found, don't validate this action method
Field Summary |
---|
Fields inherited from class com.opensymphony.xwork2.interceptor.MethodFilterInterceptor |
---|
excludeMethods, includeMethods, log |
Constructor Summary | |
---|---|
AnnotationValidationInterceptor()
|
Method Summary | |
---|---|
protected java.lang.String |
doIntercept(ActionInvocation invocation)
|
protected java.lang.reflect.Method |
getActionMethod(java.lang.Class actionClass,
java.lang.String methodName)
|
Methods inherited from class com.opensymphony.xwork2.validator.ValidationInterceptor |
---|
doBeforeInvocation, isValidateAnnotatedMethodOnly, setActionValidatorManager, setAlwaysInvokeValidate, setDeclarative, setProgrammatic, setValidateAnnotatedMethodOnly |
Methods inherited from class com.opensymphony.xwork2.interceptor.MethodFilterInterceptor |
---|
applyInterceptor, getExcludeMethodsSet, getIncludeMethodsSet, intercept, setExcludeMethods, setIncludeMethods |
Methods inherited from class com.opensymphony.xwork2.interceptor.AbstractInterceptor |
---|
destroy, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationValidationInterceptor()
Method Detail |
---|
protected java.lang.String doIntercept(ActionInvocation invocation) throws java.lang.Exception
doIntercept
in class ValidationInterceptor
java.lang.Exception
protected java.lang.reflect.Method getActionMethod(java.lang.Class actionClass, java.lang.String methodName) throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |