com.opensymphony.xwork.interceptor
Class ParameterFilterInterceptor
java.lang.Object
com.opensymphony.xwork.interceptor.ParameterFilterInterceptor
- All Implemented Interfaces:
- Interceptor
public class ParameterFilterInterceptor
- extends Object
- implements Interceptor
- Author:
- Gabe
Filters parameters
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParameterFilterInterceptor
public ParameterFilterInterceptor()
destroy
public void destroy()
- Description copied from interface:
Interceptor
- Called to let an interceptor clean up any resources it has allocated.
- Specified by:
destroy in interface Interceptor
init
public void init()
- Description copied from interface:
Interceptor
- Called after an interceptor is created, but before any requests are processed using
intercept , giving
the Interceptor a chance to initialize any needed resources.
- Specified by:
init in interface Interceptor
intercept
public String intercept(ActionInvocation invocation)
throws Exception
- Description copied from interface:
Interceptor
- Allows the Interceptor to do some processing on the request before and/or after the rest of the processing of the
request by the
ActionInvocation or to short-circuit the processing and just return a String return code.
- Specified by:
intercept in interface Interceptor
- Returns:
- the return code, either returned from
ActionInvocation.invoke(), or from the interceptor itself.
- Throws:
Exception - any system-level error, as defined in Action.execute().
isDefaultBlock
public boolean isDefaultBlock()
- Returns:
- Returns the defaultBlock.
setDefaultBlock
public void setDefaultBlock(boolean defaultExclude)
- Parameters:
defaultBlock - The defaultBlock to set.
getBlocked
public Collection getBlocked()
- Returns:
- Returns the blocked.
setBlocked
public void setBlocked(Collection blocked)
- Parameters:
blocked - The blocked to set.
setBlocked
public void setBlocked(String blocked)
getAllowed
public Collection getAllowed()
- Returns:
- Returns the allowed.
setAllowed
public void setAllowed(Collection allowed)
- Parameters:
allowed - The allowed to set.
setAllowed
public void setAllowed(String allowed)