com.opensymphony.xwork.interceptor |
|
Java Source File Name | Type | Comment |
AbstractLifecycleInterceptor.java | Class | |
AliasInterceptor.java | Class |
The aim of this Interceptor is to alias a named parameter to a different named parameter. |
AroundInterceptor.java | Class | An abstract interceptor that provides simple access to before/after callouts. |
ChainingInterceptor.java | Class |
An interceptor that copies all the properties of every object in the value stack to the currently executing object,
except for any object that implements
Unchainable . |
ConversionErrorInterceptor.java | Class |
This interceptor adds any error found in the
ActionContext 's conversionErrors map as a field error (provided
that the action implements
ValidationAware ). |
DefaultWorkflowInterceptor.java | Class |
An interceptor that does some basic validation workflow before allowing the interceptor chain to continue.
This interceptor does nothing if the name of the method being invoked is specified in the excludeMethods
parameter. |
ExceptionHolder.java | Class |
A simple wrapper around an exception, providing an easy way to print out the stack trace of the exception as well as
a way to get a handle on the exception itself.
author: Matthew E. |
ExceptionMappingInterceptor.java | Class |
This interceptor forms the core functionality of the exception handling feature. |
ExternalReferencesInterceptor.java | Class |
TODO: Give a description of the Interceptor. |
I18nInterceptor.java | Class |
An interceptor that handles setting the locale specified in a session as the locale for the current action request.
In addition, this interceptor will look for a specific HTTP request parameter and set the locale to whatever value is
provided. |
Interceptor.java | Interface |
An interceptor is a stateless class that follows the interceptor pattern, as
found in
javax.servlet.Filter and in AOP languages.
Interceptors are objects that dynamically intercept Action invocations. |
LoggingInterceptor.java | Class |
This interceptor logs the the start and end of the execution an action (in English-only, not internationalized). |
MethodFilterInterceptor.java | Class |
An abstract Interceptor that is applied to selectively according
to specified included/excluded method lists.
Setable parameters are as follows:
- excludeMethods - methods name to be excluded
- includeMethods - methods name to be included
NOTE: If method name are available in both includeMethods and
excludeMethods, it will still be considered as an included method. |
MethodFilterInterceptorUtil.java | Class | Utility class contains common methods used by
com.opensymphony.xwork.interceptor.MethodFilterInterceptorterceptor and
org.apache.struts.action2.components.Form . |
ModelDrivenInterceptor.java | Class |
Watches for
ModelDriven actions and adds the action's model on to the value stack. |
NoParameters.java | Interface | This marker interface should be implemented by actions that do not want any
parameters set on them automatically (by the ParametersActionFactoryProxy)
This may be useful if one is using the action tag and want to supply
the parameters to the action manually using the param tag. |
ParameterFilterInterceptor.java | Class |
The Parameter Filter Interceptor blocks parameters from getting
to the rest of the stack or your action. |
ParameterNameAware.java | Interface |
This interface is implemented by actions that want to declare acceptable parameters. |
ParameterRemoverInterceptor.java | Class |
This is a simple WebWork interceptor that allows parameters (matching
one of the paramNames attribute csv value) to be
removed from the parameter map if they match a certain value
(matching one of the paramValues attribute csv value), before they
are set on the action. |
ParametersInterceptor.java | Class |
This interceptor sets all parameters on the value stack.
This interceptor gets all parameters from
ActionContext.getParameters and sets them on the value stack by
calling
OgnlValueStack.setValue(StringObject) , typically resulting in the values submitted in a form
request being applied to an action in the value stack. |
PrefixMethodInvocationUtil.java | Class | A utility class for invoking prefixed methods in action class. |
PrepareInterceptor.java | Class |
This interceptor calls prepare() on actions which implement
Preparable . |
PreResultListener.java | Interface | PreResultListeners may be registered with an ActionInvocation to get a callback after the Action has been executed
but before the Result is executed. |
StaticParametersInterceptor.java | Class |
This interceptor populates the action with the static parameters defined in the action configuration. |
TimerInterceptor.java | Class |
This interceptor logs the amount of time in milliseconds. |