## Uses of Class
com.opensymphony.xwork2.ActionContext

- Packages that use ActionContext
  Package | Description
  --- | ---
  com.opensymphony.xwork2 | Main XWork interfaces and classes.
  com.opensymphony.xwork2.config.impl | Configuration implementation classes.
  com.opensymphony.xwork2.interceptor | Interceptor classes.
  com.opensymphony.xwork2.mock | XWork specific mock classes.
  org.apache.struts2 |
  org.apache.struts2.dispatcher | This package contains a reimagining of the traditional Struts filter dispatchers.
  org.apache.struts2.interceptor |

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

    Fields in com.opensymphony.xwork2 declared as ActionContext
    Modifier and Type | Field and Description
    --- | ---
    `protected ActionContext` | DefaultActionInvocation.`invocationContext`

    Methods in com.opensymphony.xwork2 that return ActionContext
    Modifier and Type | Method and Description
    --- | ---
    `static ActionContext` | ActionContext.`getContext()` Returns the ActionContext specific to the current thread.
    `ActionContext` | DefaultActionInvocation.`getInvocationContext()`
    `ActionContext` | ActionInvocation.`getInvocationContext()` Gets the ActionContext associated with this ActionInvocation.

    Methods in com.opensymphony.xwork2 with parameters of type ActionContext
    Modifier and Type | Method and Description
    --- | ---
    `Result` | UnknownHandlerManager.`handleUnknownResult(ActionContext actionContext, String actionName, ActionConfig actionConfig, String resultCode)`
    `Result` | DefaultUnknownHandlerManager.`handleUnknownResult(ActionContext actionContext, String actionName, ActionConfig actionConfig, String resultCode)` Iterate over UnknownHandlers and return the result of the first one that can handle it
    `Result` | UnknownHandler.`handleUnknownResult(ActionContext actionContext, String actionName, ActionConfig actionConfig, String resultCode)` Handles the case when a result cannot be found for an action and result code.
    `static void` | ActionContext.`setContext(ActionContext context)` Sets the action context for the current thread.

  - ### Uses of ActionContext in com.opensymphony.xwork2.config.impl

    Methods in com.opensymphony.xwork2.config.impl that return ActionContext
    Modifier and Type | Method and Description
    --- | ---
    `protected ActionContext` | DefaultConfiguration.`setContext(Container cont)`

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

    Methods in com.opensymphony.xwork2.interceptor with parameters of type ActionContext
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | StaticParametersInterceptor.`addParametersToContext(ActionContext ac, Map<String,?> newParams)` Adds the parameters into context's ParameterMap.
    `protected void` | ParametersInterceptor.`addParametersToContext(ActionContext ac, Map<String,?> newParams)` Adds the parameters into context's ParameterMap
    `Interceptor` | WithLazyParams.LazyParamInjector.`injectParams(Interceptor interceptor, Map<String,String> params, ActionContext invocationContext)`
    `protected Object` | ScopedModelDrivenInterceptor.`resolveModel(ObjectFactory factory, ActionContext actionContext, String modelClassName, String modelScope, String modelName)`
    `protected Map<String,String>` | StaticParametersInterceptor.`retrieveParameters(ActionContext ac)`
    `protected HttpParameters` | ParametersInterceptor.`retrieveParameters(ActionContext ac)` Gets the parameter map to apply from wherever appropriate

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

    Methods in com.opensymphony.xwork2.mock that return ActionContext
    Modifier and Type | Method and Description
    --- | ---
    `ActionContext` | MockActionInvocation.`getInvocationContext()`

    Methods in com.opensymphony.xwork2.mock with parameters of type ActionContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | MockActionInvocation.`setInvocationContext(ActionContext invocationContext)`

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

    Subclasses of ActionContext in org.apache.struts2
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ServletActionContext` Web-specific context information for actions.

    Methods in org.apache.struts2 that return ActionContext
    Modifier and Type | Method and Description
    --- | ---
    `static ActionContext` | ServletActionContext.`getActionContext(javax.servlet.http.HttpServletRequest req)` Gets the current action context

  - ### Uses of ActionContext in org.apache.struts2.dispatcher

    Methods in org.apache.struts2.dispatcher that return ActionContext
    Modifier and Type | Method and Description
    --- | ---
    `ActionContext` | PrepareOperations.`createActionContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)` Creates the action context and initializes the thread local

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

    Methods in org.apache.struts2.interceptor with parameters of type ActionContext
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | ActionMappingParametersInterceptor.`addParametersToContext(ActionContext ac, Map<String,?> newParams)` Adds the parameters into the current ActionContext's parameter map.
    `protected HttpParameters` | ActionMappingParametersInterceptor.`retrieveParameters(ActionContext ac)` Get the parameter map from ActionMapping associated with the provided ActionContext.

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