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

- Packages that use Interceptor
  Package | Description
  --- | ---
  com.opensymphony.xwork2.config.entities | Configuration entity classes.
  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 |

- - ### Uses of Interceptor in com.opensymphony.xwork2.config.entities

    Constructors in com.opensymphony.xwork2.config.entities with parameters of type Interceptor
    Constructor and Description
    `InterceptorMapping(String name, Interceptor interceptor)`
    `InterceptorMapping(String name, Interceptor interceptor, Map<String,String> params)`

  - ### Uses of Interceptor in com.opensymphony.xwork2.interceptor

    Subinterfaces of Interceptor in com.opensymphony.xwork2.interceptor
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `Interceptor` Deprecated. since 6.7.0, use `Interceptor` instead.

    Classes in com.opensymphony.xwork2.interceptor that implement Interceptor
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `ConditionalInterceptor.LegacyAdapter` Deprecated.
    `static class` | `Interceptor.LegacyAdapter` Deprecated.
    `class` | `ParameterFilterInterceptor` Deprecated. since 6.4.0, use `ParametersInterceptor`.

    Methods in com.opensymphony.xwork2.interceptor that return Interceptor
    Modifier and Type | Method and Description
    --- | ---
    `Interceptor` | Interceptor.LegacyAdapter.`getAdaptee()`
    `Interceptor` | WithLazyParams.LazyParamInjector.`injectParams(Interceptor interceptor, Map<String,String> params, ActionContext invocationContext)`

    Methods in com.opensymphony.xwork2.interceptor with parameters of type Interceptor
    Modifier and Type | Method and Description
    --- | ---
    `static Interceptor` | Interceptor.`adapt(Interceptor actualInterceptor)` Deprecated.
    `Interceptor` | WithLazyParams.LazyParamInjector.`injectParams(Interceptor interceptor, Map<String,String> params, ActionContext invocationContext)`

    Constructors in com.opensymphony.xwork2.interceptor with parameters of type Interceptor
    Constructor and Description
    `LegacyAdapter(Interceptor adaptee)`

  - ### Uses of Interceptor in com.opensymphony.xwork2.interceptor.annotations

    Classes in com.opensymphony.xwork2.interceptor.annotations that implement Interceptor
    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`

  - ### Uses of Interceptor in com.opensymphony.xwork2.mock

    Classes in com.opensymphony.xwork2.mock that implement Interceptor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MockInterceptor` Mock for an `Interceptor`.

  - ### Uses of Interceptor in com.opensymphony.xwork2.validator

    Classes in com.opensymphony.xwork2.validator that implement Interceptor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ValidationInterceptor`

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

    Subinterfaces of Interceptor in org.apache.struts2.interceptor
    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.

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

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

    Classes in org.apache.struts2.interceptor.csp that implement Interceptor
    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.

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

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

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

    Classes in org.apache.struts2.interceptor.parameter that implement Interceptor
    Modifier and Type | Class and 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 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–2026 Apache Software Foundation. All rights reserved.