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.validator |
XWork validation subsystem.
|
org.apache.struts2.interceptor | |
org.apache.struts2.interceptor.csp | |
org.apache.struts2.interceptor.debugging | |
org.apache.struts2.interceptor.httpmethod | |
org.apache.struts2.interceptor.parameter | |
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 | Interface and Description |
---|---|
interface |
ConditionalInterceptor
A marking interface, when implemented allows to conditionally execute a given interceptor
within the current action invocation.
|
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
Deprecated.
since 6.4.0, use
ParametersInterceptor . |
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 |
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.
|
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
Deprecated.
since 6.6.0, integrated into
ParametersInterceptor with StrutsParameter using
struts.parameters.requireAnnotations=true |
class |
AnnotationWorkflowInterceptor |
Modifier and Type | Class and Description |
---|---|
class |
MockInterceptor
Mock for an
Interceptor . |
Modifier and Type | Class and Description |
---|---|
class |
ValidationInterceptor |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFileUploadInterceptor |
class |
ActionFileUploadInterceptor
Interceptor that is based off of
MultiPartRequestWrapper , which is automatically applied for any request that
includes a file when the support for multi-part request is enabled,
see Disabling file upload. |
class |
ActionMappingParametersInterceptor |
class |
CheckboxInterceptor |
class |
ClearSessionInterceptor |
class |
CoepInterceptor
Interceptor that implements Cross-Origin Embedder Policy on incoming requests used to protect a
document from loading any non-same-origin resources which don't explicitly grant the document
permission to be loaded.
|
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 |
CoopInterceptor
Interceptor that implements Cross-Origin Opener Policy on incoming requests.
|
class |
CreateSessionInterceptor |
class |
DateTextFieldInterceptor |
class |
ExecuteAndWaitInterceptor |
class |
FetchMetadataInterceptor
Interceptor that implements Fetch Metadata policy on incoming requests used to protect against
CSRF, XSSI, and cross-origin information leaks.
|
class |
FileUploadInterceptor
Deprecated.
since Struts 6.4.0, use
ActionFileUploadInterceptor instead |
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 |
RolesInterceptor |
class |
ScopeInterceptor |
class |
ServletConfigInterceptor |
class |
StrutsConversionErrorInterceptor |
class |
TokenInterceptor |
class |
TokenSessionStoreInterceptor |
Modifier and Type | Class and Description |
---|---|
class |
CspInterceptor
Interceptor that implements Content Security Policy on incoming requests used to protect against
common XSS and data injection attacks.
|
Modifier and Type | Class and Description |
---|---|
class |
DebuggingInterceptor |
Modifier and Type | Class and Description |
---|---|
class |
HttpMethodInterceptor
Interceptor is used to control with what http methods action can be called,
if request with not allowed method was performed,
HttpMethodInterceptor.badRequestResultName
will be returned or if action implements HttpMethodAware
and HttpMethodAware.getBadRequestResultName() returns non-null result name,
thus value will be used instead. |
Modifier and Type | Class and Description |
---|---|
class |
ParametersInterceptor
This interceptor sets all parameters on the value stack.
|
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–2024 Apache Software Foundation. All rights reserved.