Package com.opensymphony.xwork2.interceptor
package com.opensymphony.xwork2.interceptor
Interceptor classes.
-
ClassDescriptionProvides default implementations of optional lifecycle methodsThe aim of this Interceptor is to alias a named parameter to a different named parameter.A marking interface, when implemented allows to conditionally execute a given interceptor within the current action invocation.ConversionErrorInterceptor adds conversion errors from the ActionContext to the Action's field errors.A simple wrapper around an exception, providing an easy way to print out the stack trace of the exception as well as a way to get a handle on the exception itself.Utility class contains common methods used by
MethodFilterInterceptor
.Watches forModelDriven
actions and adds the action's model on to the value stack.Refreshes the model instance on the value stack, if it has changedDeprecated.Deprecated.since 6.4.0, useParametersInterceptor
.Deprecated.since 6.4.0, useParameterNameAware
.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.Deprecated.since 6.4.0, useParametersInterceptor
.Deprecated.since 6.4.0, useParameterValueAware
.A utility class for invoking prefixed methods in action class.This interceptor callsprepare()
on actions which implementPreparable
.PreResultListeners may be registered with anActionInvocation
to get a callback after theAction
has been executed but before theResult
is executed.Adds the ability to set a model, probably retrieved from a given state.An interceptor that enables scoped model-driven actions.This interceptor populates the action with the static parameters defined in the action configuration.ValidationAware classes can accept Action (class level) or field level error messages.ValidationErrorAware classes can be notified about validation errors beforeDefaultWorkflowInterceptor
will return 'inputResultName' result to allow change or not the result name This interface can be only applied to action which already implementsValidationAware
interface!ValidationWorkflowAware classes can programmatically change result name when errors occurred This interface can be only applied to action which already implementsValidationAware
interface!Interceptors marked with this interface won't be fully initialised during initialisation.
NoParameters