ParameterRemoverInterceptor instead.@Deprecated public class ParameterRemoverInterceptor extends AbstractInterceptor
No intended extension point
<action name="sample" class="org.martingilday.Sample">
<interceptor-ref name="paramRemover">
<param name="paramNames">aParam,anotherParam</param>
<param name="paramValues">--,-1</param>
</interceptor-ref>
<interceptor-ref name="defaultStack" />
...
</action>
ConditionalInterceptor.LegacyAdapter| Constructor and Description |
|---|
ParameterRemoverInterceptor()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
intercept(ActionInvocation invocation)
Deprecated.
Decide if the parameter should be removed from the parameter map based on
paramNames and paramValues. |
void |
setParamNames(String paramNames)
Deprecated.
Allows
paramNames attribute to be set as comma-separated-values (csv). |
void |
setParamValues(String paramValues)
Deprecated.
Allows
paramValues attribute to be set as a comma-separated-values (csv). |
intercept, shouldIntercept, shouldInterceptdestroy, init, setDisabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadaptadaptdestroy, initpublic String intercept(ActionInvocation invocation) throws Exception
paramNames and paramValues.intercept in class AbstractInterceptorExceptionAbstractInterceptorpublic void setParamNames(String paramNames)
paramNames attribute to be set as comma-separated-values (csv).paramNames - the paramNames to setpublic void setParamValues(String paramValues)
paramValues attribute to be set as a comma-separated-values (csv).paramValues - the paramValues to setCopyright © 2000–2024 Apache Software Foundation. All rights reserved.