| 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 | 
| Modifier and Type | Field and Description | 
|---|---|
protected ActionContext | 
DefaultActionInvocation.invocationContext  | 
| 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. 
 | 
| 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected ActionContext | 
DefaultConfiguration.setContext(Container cont)  | 
| 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 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ActionContext | 
MockActionInvocation.getInvocationContext()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
MockActionInvocation.setInvocationContext(ActionContext invocationContext)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ServletActionContext
Web-specific context information for actions. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ActionContext | 
ServletActionContext.getActionContext(javax.servlet.http.HttpServletRequest req)
Gets the current action context 
 | 
| 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 ac)
Get the parameter map from ActionMapping associated with the provided ActionContext. 
 | 
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.