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, initpublic AnnotationParameterFilterInterceptor()
public String intercept(ActionInvocation invocation) throws Exception
AbstractInterceptorintercept in interface Interceptorintercept in class AbstractInterceptorinvocation - the action invocationActionInvocation.invoke(), or from the interceptor itself.Exception - any system-level error, as defined in Action.execute().Copyright © 2000–2023 Apache Software Foundation. All rights reserved.