## 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.conversion.impl |
  com.opensymphony.xwork2.interceptor | Interceptor classes.
  com.opensymphony.xwork2.mock | XWork specific mock classes.
  com.opensymphony.xwork2.ognl |
  com.opensymphony.xwork2.util | XWork util 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
    --- | ---
    `ActionContext` | ActionContext.`bind()` Binds this context with the current thread
    `static ActionContext` | ActionContext.`bind(ActionContext actionContext)` Binds the provided context with the current thread
    `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.
    `static ActionContext` | ActionContext.`of(Map<String,Object> context)` Creates a new ActionContext based on passed in Map and assign this instance to the current thread
    `ActionContext` | ActionContext.`with(String key, Object value)` Adds arbitrary key to action context
    `ActionContext` | ActionContext.`withActionInvocation(ActionInvocation actionInvocation)`
    `ActionContext` | ActionContext.`withActionMapping(ActionMapping actionMapping)` Assigns ActionMapping to action context
    `ActionContext` | ActionContext.`withActionName(String actionName)`
    `ActionContext` | ActionContext.`withApplication(Map<String,Object> application)`
    `ActionContext` | ActionContext.`withContainer(Container container)`
    `ActionContext` | ActionContext.`withConversionErrors(Map<String,ConversionData> conversionErrors)`
    `ActionContext` | ActionContext.`withExtraContext(Map<String,Object> extraContext)` Assigns an extra context map to action context
    `ActionContext` | ActionContext.`withLocale(Locale locale)`
    `ActionContext` | ActionContext.`withPageContext(javax.servlet.jsp.PageContext pageContext)` Assigns PageContext to action context
    `ActionContext` | ActionContext.`withParameters(HttpParameters parameters)`
    `ActionContext` | ActionContext.`withServletContext(javax.servlet.ServletContext servletContext)` Assigns ServletContext to action context
    `ActionContext` | ActionContext.`withServletRequest(javax.servlet.http.HttpServletRequest request)` Assigns ServletRequest to action context
    `ActionContext` | ActionContext.`withServletResponse(javax.servlet.http.HttpServletResponse response)` Assigns ServletResponse to action context
    `ActionContext` | ActionContext.`withSession(Map<String,Object> session)`
    `ActionContext` | ActionContext.`withValueStack(ValueStack valueStack)`

    Methods in com.opensymphony.xwork2 with parameters of type ActionContext
    Modifier and Type | Method and Description
    --- | ---
    `static ActionContext` | ActionContext.`bind(ActionContext actionContext)` Binds the provided context with the current thread
    `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.

  - ### 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.conversion.impl

    Methods in com.opensymphony.xwork2.conversion.impl with parameters of type ActionContext
    Modifier and Type | Method and Description
    --- | ---
    `protected DateTimeFormatter[]` | DateConverter.`getDateTimeFormats(ActionContext context, Locale locale)` Retrieves the list of date time formats to be used when converting dates
    `protected String` | DateConverter.`getGlobalDateString(ActionContext context)` The user defined global date format, see `Date.DATETAG_PROPERTY`

  - ### 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 com.opensymphony.xwork2.ognl

    Methods in com.opensymphony.xwork2.ognl that return ActionContext
    Modifier and Type | Method and Description
    --- | ---
    `ActionContext` | OgnlValueStack.`getActionContext()`

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

    Methods in com.opensymphony.xwork2.util that return ActionContext
    Modifier and Type | Method and Description
    --- | ---
    `ActionContext` | ValueStack.`getActionContext()`

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

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

  - ### 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–2023 Apache Software Foundation. All rights reserved.