# Uses of Interface
org.apache.struts2.interceptor.Interceptor

Packages that use Interceptor
Package
Description
org.apache.struts2
Main XWork interfaces and classes.
org.apache.struts2.config.entities
Configuration entity classes.
org.apache.struts2.factory
org.apache.struts2.interceptor
Interceptor classes.
org.apache.struts2.interceptor.annotations
Interceptor annotations.
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
org.apache.struts2.mock
XWork specific mock classes.
org.apache.struts2.validator
XWork validation subsystem.

- ## Uses of Interceptor in org.apache.struts2

  Methods in org.apache.struts2 that return Interceptor
  Modifier and Type
  Method
  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.

- ## Uses of Interceptor in org.apache.struts2.config.entities

  Methods in org.apache.struts2.config.entities that return Interceptor
  Modifier and Type
  Method
  Description
  `Interceptor`
  InterceptorMapping.`getInterceptor()`
  Constructors in org.apache.struts2.config.entities with parameters of type Interceptor
  Modifier
  Constructor
  Description
  ``
  `InterceptorMapping(String name, Interceptor interceptor)`
  ``
  `InterceptorMapping(String name, Interceptor interceptor, Map<String,String> params)`

- ## Uses of Interceptor in org.apache.struts2.factory

  Methods in org.apache.struts2.factory that return Interceptor
  Modifier and Type
  Method
  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.

- ## Uses of Interceptor in org.apache.struts2.interceptor

  Subinterfaces of Interceptor in org.apache.struts2.interceptor
  Modifier and Type
  Interface
  Description
  `interface`
  `ConditionalInterceptor`
  A marking interface, when implemented allows to conditionally execute a given interceptor within the current action invocation.
  Classes in org.apache.struts2.interceptor that implement Interceptor
  Modifier and Type
  Class
  Description
  `class`
  `AbstractFileUploadInterceptor`
  `class`
  `AbstractInterceptor`
  Provides default implementations of optional lifecycle methods
  `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`
  `AliasInterceptor`
  The aim of this Interceptor is to alias a named parameter to a different named parameter.
  `class`
  `ChainingInterceptor`
  `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`
  `ConversionErrorInterceptor`
  ConversionErrorInterceptor adds conversion errors from the ActionContext to the Action's field errors.
  `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`
  `DefaultWorkflowInterceptor`
  `class`
  `ExceptionMappingInterceptor`
  `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`
  `I18nInterceptor`
  An interceptor that handles setting the locale specified in a session as the locale for the current action request.
  `class`
  `LoggingInterceptor`
  `class`
  `MessageStoreInterceptor`
  `class`
  `MethodFilterInterceptor`
  `class`
  `ModelDrivenInterceptor`
  Watches for `ModelDriven` actions and adds the action's model on to the value stack.
  `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`
  `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`
  `RolesInterceptor`
  `class`
  `ScopedModelDrivenInterceptor`
  An interceptor that enables scoped model-driven actions.
  `class`
  `ScopeInterceptor`
  `class`
  `ServletConfigInterceptor`
  `class`
  `StaticParametersInterceptor`
  This interceptor populates the action with the static parameters defined in the action configuration.
  `class`
  `StrutsConversionErrorInterceptor`
  `class`
  `TokenInterceptor`
  `class`
  `TokenSessionStoreInterceptor`
  Methods in org.apache.struts2.interceptor that return Interceptor
  Modifier and Type
  Method
  Description
  `Interceptor`
  WithLazyParams.LazyParamInjector.`injectParams(Interceptor interceptor, Map<String,String> params, ActionContext invocationContext)`
  Methods in org.apache.struts2.interceptor with parameters of type Interceptor
  Modifier and Type
  Method
  Description
  `Interceptor`
  WithLazyParams.LazyParamInjector.`injectParams(Interceptor interceptor, Map<String,String> params, ActionContext invocationContext)`

- ## Uses of Interceptor in org.apache.struts2.interceptor.annotations

  Classes in org.apache.struts2.interceptor.annotations that implement Interceptor
  Modifier and Type
  Class
  Description
  `class`
  `AnnotationWorkflowInterceptor`

- ## Uses of Interceptor in org.apache.struts2.interceptor.csp

  Classes in org.apache.struts2.interceptor.csp that implement Interceptor
  Modifier and Type
  Class
  Description
  `final class`
  `CspInterceptor`
  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
  Modifier and Type
  Class
  Description
  `class`
  `DebuggingInterceptor`

- ## Uses of Interceptor in org.apache.struts2.interceptor.httpmethod

  Classes in org.apache.struts2.interceptor.httpmethod that implement Interceptor
  Modifier and Type
  Class
  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.

- ## Uses of Interceptor in org.apache.struts2.interceptor.parameter

  Classes in org.apache.struts2.interceptor.parameter that implement Interceptor
  Modifier and Type
  Class
  Description
  `class`
  `ParametersInterceptor`
  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 Interceptor
  Modifier and Type
  Class
  Description
  `class`
  `AnnotationValidationInterceptor`
  Extends the xwork validation interceptor to also check for a @SkipValidation annotation, and if found, don't validate this action method

- ## Uses of Interceptor in org.apache.struts2.mock

  Classes in org.apache.struts2.mock that implement Interceptor
  Modifier and Type
  Class
  Description
  `class`
  `MockInterceptor`
  Mock for an `Interceptor`.

- ## Uses of Interceptor in org.apache.struts2.validator

  Classes in org.apache.struts2.validator that implement Interceptor
  Modifier and Type
  Class
  Description
  `class`
  `ValidationInterceptor`