## Uses of Interface
org.apache.struts2.ActionInvocation

- Packages that use ActionInvocation
  Package | Description
  --- | ---
  com.opensymphony.xwork2 | Main XWork interfaces and classes.
  com.opensymphony.xwork2.interceptor | Interceptor classes.
  com.opensymphony.xwork2.mock | XWork specific mock classes.
  org.apache.struts2 |
  org.apache.struts2.interceptor |
  org.apache.struts2.result |

- - ### Uses of ActionInvocation in com.opensymphony.xwork2

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

    Classes in com.opensymphony.xwork2 that implement ActionInvocation
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `ActionInvocation.LegacyAdapter` Deprecated.
    `class` | `DefaultActionInvocation` The Default ActionInvocation implementation

    Methods in com.opensymphony.xwork2 with parameters of type ActionInvocation
    Modifier and Type | Method and Description
    --- | ---
    `static ActionInvocation` | ActionInvocation.`adapt(ActionInvocation actualInvocation)` Deprecated.
    `default void` | Result.`execute(ActionInvocation invocation)` Deprecated.
    `ActionContext` | ActionContext.`withActionInvocation(ActionInvocation actionInvocation)` Deprecated.

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

    Methods in com.opensymphony.xwork2.interceptor with parameters of type ActionInvocation
    Modifier and Type | Method and Description
    --- | ---
    `default void` | PreResultListener.`beforeResult(ActionInvocation invocation, String resultCode)` Deprecated.
    `String` | AbstractInterceptor.`intercept(ActionInvocation invocation)` Deprecated.
    `default String` | Interceptor.`intercept(ActionInvocation invocation)` Deprecated.
    `static void` | PrefixMethodInvocationUtil.`invokePrefixMethod(ActionInvocation actionInvocation, String[] prefixes)`
    `boolean` | AbstractInterceptor.`shouldIntercept(ActionInvocation invocation)` Deprecated.
    `default boolean` | ConditionalInterceptor.`shouldIntercept(ActionInvocation invocation)` Deprecated.

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

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

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

    Methods in org.apache.struts2 that return ActionInvocation
    Modifier and Type | Method and Description
    --- | ---
    `ActionInvocation` | ActionContext.`getActionInvocation()` Gets the action invocation (the execution state).
    `ActionInvocation` | ActionProxy.`getInvocation()`

    Methods in org.apache.struts2 with parameters of type ActionInvocation
    Modifier and Type | Method and Description
    --- | ---
    `ActionContext` | ActionContext.`withActionInvocation(ActionInvocation actionInvocation)` Sets the action invocation (the execution state).

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

    Methods in org.apache.struts2.interceptor with parameters of type ActionInvocation
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | MethodFilterInterceptor.`applyInterceptor(ActionInvocation invocation)`
    `void` | ModelDrivenInterceptor.RefreshModelBeforeResult.`beforeResult(ActionInvocation invocation, String resultCode)`
    `void` | PreResultListener.`beforeResult(ActionInvocation invocation, String resultCode)` This callback method will be called after the `Action` execution and before the `Result` execution.
    `String` | ConversionErrorInterceptor.`doIntercept(ActionInvocation invocation)`
    `String` | PrepareInterceptor.`doIntercept(ActionInvocation invocation)`
    `protected String` | DefaultWorkflowInterceptor.`doIntercept(ActionInvocation invocation)` Intercept `ActionInvocation` and returns a `inputResultName` when action / field errors is found registered.
    `protected abstract String` | MethodFilterInterceptor.`doIntercept(ActionInvocation invocation)` Subclasses must override to implement the interceptor logic.
    `protected Object` | ConversionErrorInterceptor.`getOverrideExpr(ActionInvocation invocation, Object value)`
    `String` | StaticParametersInterceptor.`intercept(ActionInvocation invocation)`
    `String` | ModelDrivenInterceptor.`intercept(ActionInvocation invocation)`
    `abstract String` | AbstractInterceptor.`intercept(ActionInvocation invocation)` Override to handle interception
    `String` | ScopedModelDrivenInterceptor.`intercept(ActionInvocation invocation)`
    `String` | MethodFilterInterceptor.`intercept(ActionInvocation invocation)`
    `String` | LoggingInterceptor.`intercept(ActionInvocation invocation)`
    `String` | ChainingInterceptor.`intercept(ActionInvocation invocation)`
    `String` | AliasInterceptor.`intercept(ActionInvocation invocation)`
    `String` | ParameterRemoverInterceptor.`intercept(ActionInvocation invocation)` Decide if the parameter should be removed from the parameter map based on `paramNames` and `paramValues`.
    `String` | Interceptor.`intercept(ActionInvocation invocation)` Allows the Interceptor to do some processing on the request before and/or after the rest of the processing of the request by the `ActionInvocation` or to short-circuit the processing and just return a String return code.
    `String` | ExceptionMappingInterceptor.`intercept(ActionInvocation invocation)`
    `protected void` | ExceptionMappingInterceptor.`publishException(ActionInvocation invocation, ExceptionHolder exceptionHolder)` Default implementation to handle ExceptionHolder publishing.
    `boolean` | AbstractInterceptor.`shouldIntercept(ActionInvocation invocation)`
    `boolean` | ConditionalInterceptor.`shouldIntercept(ActionInvocation invocation)` Determines if a given interceptor should be executed in the current processing of action invocation.

  - ### Uses of ActionInvocation in org.apache.struts2.result

    Methods in org.apache.struts2.result with parameters of type ActionInvocation
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | StrutsResultSupport.`doExecute(String finalLocation, ActionInvocation invocation)` Executes the result given a final location (jsp page, action, etc) and the action invocation (the state in which the action was executed).
    `void` | Result.`execute(ActionInvocation invocation)` Represents a generic interface for all action execution results.

Copyright © 2000–2024 Apache Software Foundation. All rights reserved.