| Package | Description | 
|---|---|
| com.opensymphony.xwork2 | Main XWork interfaces and classes. | 
| org.apache.struts2 | |
| org.apache.struts2.action | |
| org.apache.struts2.components | |
| org.apache.struts2.dispatcher | This package contains a reimagining of the traditional Struts filter dispatchers. | 
| org.apache.struts2.interceptor | |
| org.apache.struts2.interceptor.parameter | |
| org.apache.struts2.result | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpParameters | ActionContext. getParameters()Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| ActionContext | ActionContext. withParameters(HttpParameters parameters)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpParameters | ActionContext. getParameters()Returns a Map of the HttpServletRequest parameters when in a servlet environment or a generic Map of
 parameters otherwise. | 
| Modifier and Type | Method and Description | 
|---|---|
| ActionContext | ActionContext. withParameters(HttpParameters parameters)Sets the action parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ParametersAware. withParameters(HttpParameters parameters)Sets the HTTP parameters in the implementing class. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected HttpParameters | ActionComponent. createParametersForContext()Creates parameters map using parameters from the value stack and component parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
| HttpParameters | HttpParameters. appendAll(Map<String,Parameter> newParams)Appends all the parameters by overriding any existing params in a case-insensitive manner | 
| HttpParameters | HttpParameters.Builder. build() | 
| HttpParameters | HttpParameters.Builder. buildNoNestedWrapping()Deprecated. 
 since 6.4.0, use  HttpParameters.Builder.build()instead | 
| HttpParameters | HttpParameters. remove(Set<String> paramsToRemove) | 
| HttpParameters | HttpParameters. remove(String paramToRemove) | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,Object> | Dispatcher. createContextMap(Map<String,Object> requestMap,
                HttpParameters parameters,
                Map<String,Object> sessionMap,
                Map<String,Object> applicationMap,
                javax.servlet.http.HttpServletRequest request,
                javax.servlet.http.HttpServletResponse response)Merge all application and servlet attributes into a single HashMap to represent the entire
 Action context. | 
| HttpParameters.Builder | HttpParameters.Builder. withParent(HttpParameters parentParams) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected HttpParameters | ActionMappingParametersInterceptor. retrieveParameters(ActionContext actionContext)Get the parameter map from ActionMapping associated with the provided ActionContext. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | HttpParametersAware. setParameters(HttpParameters parameters)Deprecated.  | 
| default void | ParameterAware. withParameters(HttpParameters parameters)Deprecated.  | 
| default void | HttpParametersAware. withParameters(HttpParameters parameters)Deprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| protected HttpParameters | ParametersInterceptor. initNewHttpParameters(HttpParameters parameters) | 
| protected HttpParameters | ParametersInterceptor. retrieveParameters(ActionContext actionContext)Gets the parameter map to apply from wherever appropriate | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | ParametersInterceptor. applyParameters(Object action,
               ValueStack stack,
               HttpParameters parameters) | 
| protected String | ParametersInterceptor. getParameterLogMap(HttpParameters parameters) | 
| protected HttpParameters | ParametersInterceptor. initNewHttpParameters(HttpParameters parameters) | 
| protected void | ParametersInterceptor. setParameters(Object action,
             ValueStack stack,
             HttpParameters parameters) | 
| protected Map<String,Parameter> | ParametersInterceptor. toAcceptableParameters(HttpParameters parameters,
                      Object action) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected HttpParameters | ServletDispatcherResult. getParameters(ActionInvocation invocation) | 
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.