org.apache.struts2.interceptor.debugging | |
org.apache.struts2.interceptor.validation |
ApplicationAware | Actions that want to be aware of the application Map object should implement this interface. | code | html |
CookiesAware | code | html | |
NoParameters | This marker interface should be implemented by actions that do not want any parameters set on them automatically. | code | html |
ParameterAware | This interface gives actions an alternative way of receiving input parameters. | code | html |
PrincipalAware | Actions that want access to the Principal information from HttpServletRequest object should implement this interface. | code | html |
PrincipalProxy | Proxy interface used together with PrincipalAware interface. | code | html |
RequestAware | Actions that want access to the current serlvet request attributes should implement this interface. This interface is only relevant if the Action is used in a servlet environment. | code | html |
ServletRequestAware | All Actions that want to have access to the servlet request object must implement this interface. This interface is only relevant if the Action is used in a servlet environment. |
code | html |
ServletResponseAware | All Actions that want to have access to the servlet response object must implement this interface. This interface is only relevant if the Action is used in a servlet environment. Note that using this interface makes the Action tied to a servlet environment, so it should be avoided if possible since things like unit testing will become more difficult. |
code | html |
SessionAware | Actions that want access to the user's HTTP session attributes should implement this interface. This will give them access to a Map where they can put objects that can be made available to subsequent requests. Typical uses may be cached user data such as name, or a shopping cart. |
code | html |
ActionMappingParametersInteceptor | This interceptor sets all parameters from the action mapping, for this request, on the value stack. | code | html |
BackgroundProcess | Background thread to be executed by the ExecuteAndWaitInterceptor. | code | html |
CheckboxInterceptor | Looks for a hidden identification field that specifies the original value of the checkbox. | code | html |
ClearSessionInterceptor | This interceptor clears the HttpSession. | code | html |
CookieInterceptor | The aim of this intercepter is to set values in the stack/action based on cookie name/value of interest. | code | html |
CreateSessionInterceptor | This interceptor creates the HttpSession. | code | html |
ExecuteAndWaitInterceptor | The ExecuteAndWaitInterceptor is great for running long-lived actions in the background while showing the user a nice progress meter. | code | html |
FileUploadInterceptor | Interceptor that is based off of MultiPartRequestWrapper , which is automatically applied for any request that includes a file. | code | html |
MessageStoreInterceptor | An interceptor to store a ValidationAware action's messages / errors and field errors into HTTP Session, such that it will be retrieveable at a later stage. | code | html |
MultiselectInterceptor | Just as the CheckboxInterceptor checks that if only the hidden field is present, so too does this interceptor. | code | html |
ProfilingActivationInterceptor | Allows profiling to be enabled or disabled via request parameters, when devMode is enabled. | code | html |
RolesInterceptor | This interceptor ensures that the action will only be executed if the user has the correct role. | code | html |
ScopeInterceptor | This is designed to solve a few simple issues related to wizard-like functionality in Struts. | code | html |
ScopeInterceptor.NULLClass | code | html | |
ServletConfigInterceptor | An interceptor which sets action properties based on the interfaces an action implements. | code | html |
StrutsConversionErrorInterceptor | This interceptor extends ConversionErrorInterceptor but only adds conversion errors from the ActionContext to the field errors of the action if the field value is not null, "", or {""} (a size 1 String array with only an empty String). | code | html |
TokenInterceptor | Ensures that only one request per token is processed. | code | html |
TokenSessionStoreInterceptor | This interceptor builds off of the TokenInterceptor , providing advanced logic for handling invalid tokens. | code | html |