|
||||||||||
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.annotations.AnnotationParameterFilterIntereptor
public class AnnotationParameterFilterIntereptor
Annotation based version of ParameterFilterInterceptor
.
Interceptor
must be placed in the stack before the ParametersInterceptor
When a parameter matches a field that is marked Blocked
then it is removed from
the parameter map.
If an Action
class is marked with BlockByDefault
then all parameters are
removed unless a field on the Action exists and is marked with Allowed
Constructor Summary | |
---|---|
AnnotationParameterFilterIntereptor()
|
Method Summary | |
---|---|
java.lang.String |
intercept(ActionInvocation invocation)
Override to handle interception |
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 AnnotationParameterFilterIntereptor()
Method Detail |
---|
public java.lang.String intercept(ActionInvocation invocation) throws java.lang.Exception
AbstractInterceptor
intercept
in interface Interceptor
intercept
in class AbstractInterceptor
invocation
- the action invocation
ActionInvocation.invoke()
, or from the interceptor itself.
java.lang.Exception
- any system-level error, as defined in Action.execute()
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |