| Package | Description | 
|---|---|
| com.opensymphony.xwork2 | 
 Main XWork interfaces and classes. 
 | 
| com.opensymphony.xwork2.config.entities | 
 
Configuration entity classes. 
 | 
| com.opensymphony.xwork2.factory | |
| com.opensymphony.xwork2.interceptor | 
 Interceptor classes. 
 | 
| com.opensymphony.xwork2.interceptor.annotations | 
 Interceptor annotations. 
 | 
| com.opensymphony.xwork2.mock | 
 XWork specific mock classes. 
 | 
| com.opensymphony.xwork2.spring.interceptor | 
 Spring specific interceptor classes. 
 | 
| com.opensymphony.xwork2.validator | 
 XWork validation subsystem. 
 | 
| org.apache.struts2.interceptor | |
| org.apache.struts2.interceptor.debugging | |
| org.apache.struts2.interceptor.validation | 
| Modifier and Type | Method and Description | 
|---|---|
Interceptor | 
ObjectFactory.buildInterceptor(InterceptorConfig interceptorConfig,
                Map<String,String> interceptorRefParams)
Builds an Interceptor from the InterceptorConfig and the Map of
 parameters from the interceptor reference. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Interceptor | 
InterceptorMapping.getInterceptor()  | 
| Constructor and Description | 
|---|
InterceptorMapping(String name,
                  Interceptor interceptor)  | 
InterceptorMapping(String name,
                  Interceptor interceptor,
                  Map<String,String> params)  | 
| Modifier and Type | Method and Description | 
|---|---|
Interceptor | 
DefaultInterceptorFactory.buildInterceptor(InterceptorConfig interceptorConfig,
                Map<String,String> interceptorRefParams)  | 
Interceptor | 
InterceptorFactory.buildInterceptor(InterceptorConfig interceptorConfig,
                Map<String,String> interceptorRefParams)
Builds an Interceptor from the InterceptorConfig and the Map of
 parameters from the interceptor reference. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractInterceptor
Provides default implementations of optional lifecycle methods 
 | 
class  | 
AliasInterceptor
The aim of this Interceptor is to alias a named parameter to a different named parameter. 
 | 
class  | 
ChainingInterceptor  | 
class  | 
ConversionErrorInterceptor
ConversionErrorInterceptor adds conversion errors from the ActionContext to the Action's field errors. 
 | 
class  | 
DefaultWorkflowInterceptor  | 
class  | 
ExceptionMappingInterceptor  | 
class  | 
LoggingInterceptor  | 
class  | 
MethodFilterInterceptor  | 
class  | 
ModelDrivenInterceptor
Watches for  
ModelDriven actions and adds the action's model on to the value stack. | 
class  | 
ParameterFilterInterceptor
The Parameter Filter Interceptor blocks parameters from getting
 to the rest of the stack or your action. 
 | 
class  | 
ParameterRemoverInterceptor
This is a simple XWork 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. 
 | 
class  | 
ParametersInterceptor
This interceptor sets all parameters on the value stack. 
 | 
class  | 
PrepareInterceptor
This interceptor calls  
prepare() on actions which implement
 Preparable. | 
class  | 
ScopedModelDrivenInterceptor
An interceptor that enables scoped model-driven actions. 
 | 
class  | 
StaticParametersInterceptor
This interceptor populates the action with the static parameters defined in the action configuration. 
 | 
class  | 
TimerInterceptor
Deprecated. 
 
will be dropped with next major release (2.6) 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Interceptor | 
WithLazyParams.LazyParamInjector.injectParams(Interceptor interceptor,
            Map<String,String> params,
            ActionContext invocationContext)  | 
| Modifier and Type | Method and Description | 
|---|---|
Interceptor | 
WithLazyParams.LazyParamInjector.injectParams(Interceptor interceptor,
            Map<String,String> params,
            ActionContext invocationContext)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AnnotationParameterFilterInterceptor
Annotation based version of  
ParameterFilterInterceptor. | 
class  | 
AnnotationWorkflowInterceptor  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
MockInterceptor
Mock for an  
Interceptor. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ActionAutowiringInterceptor
TODO: Give a description of the Interceptor. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ValidationInterceptor  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ActionMappingParametersInterceptor  | 
class  | 
CheckboxInterceptor  | 
class  | 
ClearSessionInterceptor  | 
class  | 
CookieInterceptor  | 
class  | 
CookieProviderInterceptor
Allows actions to send cookies to client, action must implement  
CookieProvider
 You must reference this interceptor in your default stack or in action's stack, see example below. | 
class  | 
CreateSessionInterceptor  | 
class  | 
DateTextFieldInterceptor  | 
class  | 
ExecuteAndWaitInterceptor  | 
class  | 
FileUploadInterceptor  | 
class  | 
I18nInterceptor
An interceptor that handles setting the locale specified in a session as the locale for the current action request. 
 | 
class  | 
MessageStoreInterceptor  | 
class  | 
MultiselectInterceptor
Just as the CheckboxInterceptor checks that if only the hidden field is present, so too does this interceptor. 
 | 
class  | 
NoOpInterceptor
Interceptor that does nothing, used in the "empty" stack 
 | 
class  | 
ProfilingActivationInterceptor
Allows profiling to be enabled or disabled via request parameters, when
 devMode is enabled. 
 | 
class  | 
RolesInterceptor  | 
class  | 
ScopeInterceptor  | 
class  | 
ServletConfigInterceptor  | 
class  | 
StrutsConversionErrorInterceptor  | 
class  | 
TokenInterceptor  | 
class  | 
TokenSessionStoreInterceptor  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DebuggingInterceptor  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AnnotationValidationInterceptor
Extends the xwork validation interceptor to also check for a @SkipValidation
 annotation, and if found, don't validate this action method 
 | 
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.