| 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 | |
| org.apache.struts2.interceptor.parameter | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ActionContext | DefaultActionInvocation. invocationContext | 
| Modifier and Type | Method and Description | 
|---|---|
| static ActionContext | ActionContext. adapt(ActionContext actualContext)Deprecated.  | 
| ActionContext | ActionContext. bind()Deprecated.  | 
| static ActionContext | ActionContext. bind(ActionContext actionContext)Deprecated.  | 
| static ActionContext | ActionContext. getContext()Deprecated.  | 
| ActionContext | DefaultActionInvocation. getInvocationContext() | 
| ActionContext | ActionInvocation. getInvocationContext()Deprecated.  | 
| ActionContext | ActionInvocation.LegacyAdapter. getInvocationContext() | 
| static ActionContext | ActionContext. of()Deprecated.  | 
| static ActionContext | ActionContext. of(Map<String,Object> context)Deprecated.  | 
| ActionContext | ActionContext. with(String key,
    Object value)Deprecated.  | 
| ActionContext | ActionContext. withActionInvocation(ActionInvocation actionInvocation)Deprecated.  | 
| ActionContext | ActionContext. withActionInvocation(ActionInvocation actionInvocation)Deprecated.  | 
| ActionContext | ActionContext. withActionMapping(ActionMapping actionMapping)Deprecated.  | 
| ActionContext | ActionContext. withActionName(String actionName)Deprecated.  | 
| ActionContext | ActionContext. withApplication(Map<String,Object> application)Deprecated.  | 
| ActionContext | ActionContext. withContainer(Container container)Deprecated.  | 
| ActionContext | ActionContext. withConversionErrors(Map<String,ConversionData> conversionErrors)Deprecated.  | 
| ActionContext | ActionContext. withExtraContext(Map<String,Object> extraContext)Deprecated.  | 
| ActionContext | ActionContext. withLocale(Locale locale)Deprecated.  | 
| ActionContext | ActionContext. withPageContext(javax.servlet.jsp.PageContext pageContext)Deprecated.  | 
| ActionContext | ActionContext. withParameters(HttpParameters parameters)Deprecated.  | 
| ActionContext | ActionContext. withServletContext(javax.servlet.ServletContext servletContext)Deprecated.  | 
| ActionContext | ActionContext. withServletRequest(javax.servlet.http.HttpServletRequest request)Deprecated.  | 
| ActionContext | ActionContext. withServletResponse(javax.servlet.http.HttpServletResponse response)Deprecated.  | 
| ActionContext | ActionContext. withSession(Map<String,Object> session)Deprecated.  | 
| ActionContext | ActionContext. withValueStack(ValueStack valueStack)Deprecated.  | 
| ActionContext | ActionContext. withValueStack(ValueStack valueStack)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| static ActionContext | ActionContext. bind(ActionContext actionContext)Deprecated.  | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected ActionContext | DefaultConfiguration. setContext(Container cont) | 
| 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 | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | StaticParametersInterceptor. addParametersToContext(ActionContext ac,
                      Map<String,?> newParams)Deprecated.  Adds the parameters into context's ParameterMap. | 
| Interceptor | WithLazyParams.LazyParamInjector. injectParams(Interceptor interceptor,
            Map<String,String> params,
            ActionContext invocationContext) | 
| 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)Deprecated.  | 
| protected Map<String,String> | StaticParametersInterceptor. retrieveParameters(ActionContext ac)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| ActionContext | MockActionInvocation. getInvocationContext() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | MockActionInvocation. setInvocationContext(ActionContext invocationContext) | 
| Modifier and Type | Method and Description | 
|---|---|
| ActionContext | OgnlValueStack. getActionContext() | 
| Modifier and Type | Method and Description | 
|---|---|
| ActionContext | ValueStack. getActionContext()Deprecated.  | 
| ActionContext | ValueStack.LegacyAdapter. getActionContext() | 
| 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 | 
| 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 | 
| 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 actionContext)Get the parameter map from ActionMapping associated with the provided ActionContext. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | ParametersInterceptor. addParametersToContext(ActionContext ac,
                      Map<String,?> newParams)Adds the parameters into context's ParameterMap | 
| protected HttpParameters | ParametersInterceptor. retrieveParameters(ActionContext actionContext)Gets the parameter map to apply from wherever appropriate | 
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.