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
ConditionalInterceptor.LegacyAdapter
Constructor and Description |
---|
AnnotationParameterFilterInterceptor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
intercept(ActionInvocation invocation)
Deprecated.
Override to handle interception
|
intercept, shouldIntercept, shouldIntercept
destroy, init, setDisabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adapt
adapt
destroy, init
public AnnotationParameterFilterInterceptor()
public String intercept(ActionInvocation invocation) throws Exception
AbstractInterceptor
intercept
in class AbstractInterceptor
Exception
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.