ParametersInterceptor with StrutsParameter using
struts.parameters.requireAnnotations=true@Deprecated 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()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
intercept(ActionInvocation invocation)
Deprecated.
Override to handle interception
|
destroy, init, setDisabled, shouldInterceptpublic 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–2024 Apache Software Foundation. All rights reserved.