Package | Description |
---|---|
com.opensymphony.xwork2 |
Main XWork interfaces and classes.
|
com.opensymphony.xwork2.interceptor |
Interceptor classes.
|
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.result |
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 |
---|---|
void |
ActionContext.setParameters(HttpParameters parameters)
Sets the action parameters.
|
Modifier and Type | Method and Description |
---|---|
protected HttpParameters |
ParametersInterceptor.retrieveParameters(ActionContext ac)
Gets the parameter map to apply from wherever appropriate
|
Modifier and Type | Method and Description |
---|---|
protected String |
ParametersInterceptor.getParameterLogMap(HttpParameters parameters) |
protected void |
ParametersInterceptor.setParameters(Object action,
ValueStack stack,
HttpParameters 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) |
HttpParameters |
HttpParameters.Builder.build() |
HttpParameters |
HttpParameters.Builder.buildNoNestedWrapping()
|
HttpParameters |
HttpParameters.remove(Set<String> paramsToRemove) |
HttpParameters |
HttpParameters.remove(String paramToRemove) |
Modifier and Type | Method and Description |
---|---|
HashMap<String,Object> |
Dispatcher.createContextMap(Map requestMap,
HttpParameters parameters,
Map sessionMap,
Map 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 ac)
Get the parameter map from ActionMapping associated with the provided ActionContext.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpParametersAware.setParameters(HttpParameters parameters)
Deprecated.
please use
ParametersAware.withParameters(HttpParameters) instead |
Modifier and Type | Method and Description |
---|---|
protected HttpParameters |
ServletDispatcherResult.getParameters(ActionInvocation invocation) |
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.