org.apache.struts2.interceptor.validation
Class AnnotationValidationInterceptor
java.lang.Object
com.opensymphony.xwork2.interceptor.AbstractInterceptor
com.opensymphony.xwork2.interceptor.MethodFilterInterceptor
com.opensymphony.xwork2.validator.ValidationInterceptor
org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor
- All Implemented Interfaces:
- Interceptor, Serializable
public class AnnotationValidationInterceptor
- extends ValidationInterceptor
Extends the xwork validation interceptor to also check for a @SkipValidation
annotation, and if found, don't validate this action method
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationValidationInterceptor
public AnnotationValidationInterceptor()
doIntercept
protected String doIntercept(ActionInvocation invocation)
throws Exception
- Overrides:
doIntercept
in class ValidationInterceptor
- Throws:
Exception
getActionMethod
protected Method getActionMethod(Class actionClass,
String methodName)
throws NoSuchMethodException
- Throws:
NoSuchMethodException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.