public class AnnotationParameterFilterInterceptor extends AbstractInterceptor
ParameterFilterInterceptor
.
This 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 and Description |
---|
AnnotationParameterFilterInterceptor() |
Modifier and Type | Method and Description |
---|---|
String |
intercept(ActionInvocation invocation)
Override to handle interception
|
destroy, init
public AnnotationParameterFilterInterceptor()
public String intercept(ActionInvocation invocation) throws Exception
AbstractInterceptor
intercept
in interface Interceptor
intercept
in class AbstractInterceptor
invocation
- the action invocationActionInvocation.invoke()
, or from the interceptor itself.Exception
- any system-level error, as defined in Action.execute()
.Copyright © 2000–2020 Apache Software Foundation. All rights reserved.