Uses of Interface
org.apache.struts2.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 org.apache.struts2
Methods in org.apache.struts2 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 org.apache.struts2.config.entities
Methods in org.apache.struts2.config.entities that return InterceptorConstructors in org.apache.struts2.config.entities with parameters of type InterceptorModifierConstructorDescriptionInterceptorMapping(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 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 org.apache.struts2.interceptor
Subinterfaces of Interceptor in org.apache.struts2.interceptorModifier and TypeInterfaceDescriptioninterfaceA marking interface, when implemented allows to conditionally execute a given interceptor within the current action invocation.Classes in org.apache.struts2.interceptor that implement InterceptorModifier and TypeClassDescriptionclassclassProvides default implementations of optional lifecycle methodsclassInterceptor 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.classclassThe aim of this Interceptor is to alias a named parameter to a different named parameter.classclassclassclassInterceptor 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.classConversionErrorInterceptor adds conversion errors from the ActionContext to the Action's field errors.classclassAllows actions to send cookies to client, action must implementCookieProviderYou must reference this interceptor in your default stack or in action's stack, see example below.classInterceptor that implements Cross-Origin Opener Policy on incoming requests.classclassclassclassclassclassInterceptor that implements Fetch Metadata policy on incoming requests used to protect against CSRF, XSSI, and cross-origin information leaks.classAn interceptor that handles setting the locale specified in a session as the locale for the current action request.classclassclassclassWatches forModelDrivenactions and adds the action's model on to the value stack.classJust as the CheckboxInterceptor checks that if only the hidden field is present, so too does this interceptor.classInterceptor that does nothing, used in the "empty" stackclassThis 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.classThis interceptor callsprepare()on actions which implementPreparable.classclassAn interceptor that enables scoped model-driven actions.classclassclassThis interceptor populates the action with the static parameters defined in the action configuration.classclassclassMethods in org.apache.struts2.interceptor that return InterceptorModifier and TypeMethodDescriptionWithLazyParams.LazyParamInjector.injectParams(Interceptor interceptor, Map<String, String> params, ActionContext invocationContext) Methods in org.apache.struts2.interceptor with parameters of type InterceptorModifier and TypeMethodDescriptionWithLazyParams.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 -
Uses of Interceptor in org.apache.struts2.interceptor.csp
Classes in org.apache.struts2.interceptor.csp that implement InterceptorModifier and TypeClassDescriptionfinal classInterceptor 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 TypeClassDescriptionclassInterceptor is used to control with what http methods action can be called, if request with not allowed method was performed,HttpMethodInterceptor.badRequestResultNamewill be returned or if action implementsHttpMethodAwareandHttpMethodAware.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 TypeClassDescriptionclassThis 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 TypeClassDescriptionclassExtends 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 -
Uses of Interceptor in org.apache.struts2.validator
Classes in org.apache.struts2.validator that implement Interceptor