Uses of Interface
com.opensymphony.xwork2.interceptor.Interceptor
Packages that use Interceptor
Package
Description
Main XWork interfaces and classes.
Configuration entity classes.
Interceptor classes.
Interceptor annotations.
XWork specific mock classes.
XWork validation subsystem.
-
Uses of Interceptor in com.opensymphony.xwork2
Methods in com.opensymphony.xwork2 that return InterceptorModifier and TypeMethodDescriptionObjectFactory.buildInterceptor
(InterceptorConfig interceptorConfig, Map<String, String> interceptorRefParams) Builds an Interceptor from the InterceptorConfig and the Map of parameters from the interceptor reference. -
Uses of Interceptor in com.opensymphony.xwork2.config.entities
Methods in com.opensymphony.xwork2.config.entities that return InterceptorConstructors in com.opensymphony.xwork2.config.entities with parameters of type InterceptorModifierConstructorDescriptionInterceptorMapping
(String name, Interceptor interceptor) InterceptorMapping
(String name, Interceptor interceptor, Map<String, String> params) -
Uses of Interceptor in com.opensymphony.xwork2.factory
Methods in com.opensymphony.xwork2.factory that return InterceptorModifier and TypeMethodDescriptionDefaultInterceptorFactory.buildInterceptor
(InterceptorConfig interceptorConfig, Map<String, String> interceptorRefParams) InterceptorFactory.buildInterceptor
(InterceptorConfig interceptorConfig, Map<String, String> interceptorRefParams) Builds an Interceptor from the InterceptorConfig and the Map of parameters from the interceptor reference. -
Uses of Interceptor in com.opensymphony.xwork2.interceptor
Subinterfaces of Interceptor in com.opensymphony.xwork2.interceptorModifier and TypeInterfaceDescriptioninterface
A marking interface, when implemented allows to conditionally execute a given interceptor within the current action invocation.Classes in com.opensymphony.xwork2.interceptor that implement InterceptorModifier and TypeClassDescriptionclass
Provides default implementations of optional lifecycle methodsclass
The aim of this Interceptor is to alias a named parameter to a different named parameter.class
class
ConversionErrorInterceptor adds conversion errors from the ActionContext to the Action's field errors.class
class
class
class
class
Watches forModelDriven
actions and adds the action's model on to the value stack.class
Deprecated.class
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
Deprecated.since 6.4.0, useParametersInterceptor
.class
This interceptor callsprepare()
on actions which implementPreparable
.class
An interceptor that enables scoped model-driven actions.class
This interceptor populates the action with the static parameters defined in the action configuration.Methods in com.opensymphony.xwork2.interceptor that return InterceptorModifier and TypeMethodDescriptionWithLazyParams.LazyParamInjector.injectParams
(Interceptor interceptor, Map<String, String> params, ActionContext invocationContext) Methods in com.opensymphony.xwork2.interceptor with parameters of type InterceptorModifier and TypeMethodDescriptionWithLazyParams.LazyParamInjector.injectParams
(Interceptor interceptor, Map<String, String> params, ActionContext invocationContext) -
Uses of Interceptor in com.opensymphony.xwork2.interceptor.annotations
Classes in com.opensymphony.xwork2.interceptor.annotations that implement InterceptorModifier and TypeClassDescriptionclass
Annotation based version ofParameterFilterInterceptor
.class
-
Uses of Interceptor in com.opensymphony.xwork2.mock
Classes in com.opensymphony.xwork2.mock that implement Interceptor -
Uses of Interceptor in com.opensymphony.xwork2.validator
Classes in com.opensymphony.xwork2.validator that implement Interceptor -
Uses of Interceptor in org.apache.struts2.interceptor
Classes in org.apache.struts2.interceptor that implement InterceptorModifier and TypeClassDescriptionclass
class
Interceptor that is based off ofMultiPartRequestWrapper
, 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
class
class
class
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
class
Allows actions to send cookies to client, action must implementCookieProvider
You must reference this interceptor in your default stack or in action's stack, see example below.class
Interceptor that implements Cross-Origin Opener Policy on incoming requests.class
class
class
class
Interceptor that implements Fetch Metadata policy on incoming requests used to protect against CSRF, XSSI, and cross-origin information leaks.class
Deprecated.since Struts 6.4.0, useActionFileUploadInterceptor
insteadclass
An interceptor that handles setting the locale specified in a session as the locale for the current action request.class
class
Just as the CheckboxInterceptor checks that if only the hidden field is present, so too does this interceptor.class
Interceptor that does nothing, used in the "empty" stackclass
class
class
class
class
class
-
Uses of Interceptor in org.apache.struts2.interceptor.csp
Classes in org.apache.struts2.interceptor.csp that implement InterceptorModifier and TypeClassDescriptionfinal class
Interceptor that implements Content Security Policy on incoming requests used to protect against common XSS and data injection attacks. -
Uses of Interceptor in org.apache.struts2.interceptor.debugging
Classes in org.apache.struts2.interceptor.debugging that implement Interceptor -
Uses of Interceptor in org.apache.struts2.interceptor.httpmethod
Classes in org.apache.struts2.interceptor.httpmethod that implement InterceptorModifier and TypeClassDescriptionclass
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 implementsHttpMethodAware
andHttpMethodAware.getBadRequestResultName()
returns non-null result name, thus value will be used instead. -
Uses of Interceptor in org.apache.struts2.interceptor.parameter
Classes in org.apache.struts2.interceptor.parameter that implement InterceptorModifier and TypeClassDescriptionclass
This interceptor sets all parameters on the value stack. -
Uses of Interceptor in org.apache.struts2.interceptor.validation
Classes in org.apache.struts2.interceptor.validation that implement InterceptorModifier and TypeClassDescriptionclass
Extends the xwork validation interceptor to also check for a @SkipValidation annotation, and if found, don't validate this action method
ParametersInterceptor
.