|
||||||||||
上一个 下一个 | 框架 无框架 |
使用 ActionMapping 的软件包 | |
---|---|
org.apache.struts2 | |
org.apache.struts2.dispatcher | Classes for action dispatching in Struts (the Controller part of MVC). |
org.apache.struts2.dispatcher.mapper | |
org.apache.struts2.dispatcher.ng | This package contains a reimagining of the traditional Struts filter dispatchers. |
org.apache.struts2 中 ActionMapping 的使用 |
---|
返回 ActionMapping 的 org.apache.struts2 中的方法 | |
---|---|
static ActionMapping |
ServletActionContext.getActionMapping()
Gets the action mapping for this context |
org.apache.struts2.dispatcher 中 ActionMapping 的使用 |
---|
参数类型为 ActionMapping 的 org.apache.struts2.dispatcher 中的方法 | |
---|---|
Map<String,Object> |
Dispatcher.createContextMap(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionMapping mapping,
javax.servlet.ServletContext context)
Create a context map containing all the wrapped request objects |
void |
Dispatcher.serviceAction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.ServletContext context,
ActionMapping mapping)
Load Action class for mapping and invoke the appropriate Action method, or go directly to the Result. |
org.apache.struts2.dispatcher.mapper 中 ActionMapping 的使用 |
---|
返回 ActionMapping 的 org.apache.struts2.dispatcher.mapper 中的方法 | |
---|---|
ActionMapping |
RestfulActionMapper.getMapping(javax.servlet.http.HttpServletRequest request,
com.opensymphony.xwork2.config.ConfigurationManager configManager)
|
ActionMapping |
Restful2ActionMapper.getMapping(javax.servlet.http.HttpServletRequest request,
com.opensymphony.xwork2.config.ConfigurationManager configManager)
|
ActionMapping |
PrefixBasedActionMapper.getMapping(javax.servlet.http.HttpServletRequest request,
com.opensymphony.xwork2.config.ConfigurationManager configManager)
|
ActionMapping |
DefaultActionMapper.getMapping(javax.servlet.http.HttpServletRequest request,
com.opensymphony.xwork2.config.ConfigurationManager configManager)
|
ActionMapping |
CompositeActionMapper.getMapping(javax.servlet.http.HttpServletRequest request,
com.opensymphony.xwork2.config.ConfigurationManager configManager)
|
ActionMapping |
ActionMapper.getMapping(javax.servlet.http.HttpServletRequest request,
com.opensymphony.xwork2.config.ConfigurationManager configManager)
Expose the ActionMapping for the current request |
ActionMapping |
RestfulActionMapper.getMappingFromActionName(String actionName)
|
ActionMapping |
DefaultActionMapper.getMappingFromActionName(String actionName)
|
ActionMapping |
CompositeActionMapper.getMappingFromActionName(String actionName)
|
ActionMapping |
ActionMapper.getMappingFromActionName(String actionName)
Expose the ActionMapping for the specified action name |
参数类型为 ActionMapping 的 org.apache.struts2.dispatcher.mapper 中的方法 | |
---|---|
void |
ParameterAction.execute(String key,
ActionMapping mapping)
|
String |
RestfulActionMapper.getUriFromActionMapping(ActionMapping mapping)
|
String |
PrefixBasedActionMapper.getUriFromActionMapping(ActionMapping mapping)
|
String |
DefaultActionMapper.getUriFromActionMapping(ActionMapping mapping)
|
String |
CompositeActionMapper.getUriFromActionMapping(ActionMapping mapping)
|
String |
ActionMapper.getUriFromActionMapping(ActionMapping mapping)
Convert an ActionMapping into a URI string |
void |
DefaultActionMapper.handleSpecialParameters(javax.servlet.http.HttpServletRequest request,
ActionMapping mapping)
Special parameters, as described in the class-level comment, are searched for and handled. |
org.apache.struts2.dispatcher.ng 中 ActionMapping 的使用 |
---|
返回 ActionMapping 的 org.apache.struts2.dispatcher.ng 中的方法 | |
---|---|
ActionMapping |
PrepareOperations.findActionMapping(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Finds and optionally creates an ActionMapping . |
ActionMapping |
PrepareOperations.findActionMapping(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean forceLookup)
Finds and optionally creates an ActionMapping . |
参数类型为 ActionMapping 的 org.apache.struts2.dispatcher.ng 中的方法 | |
---|---|
void |
ExecuteOperations.executeAction(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ActionMapping mapping)
Executes an action |
|
||||||||||
上一个 下一个 | 框架 无框架 |