org.apache.struts2.dispatcher.mapper
类 Restful2ActionMapper

java.lang.Object
  继承者 org.apache.struts2.dispatcher.mapper.DefaultActionMapper
      继承者 org.apache.struts2.dispatcher.mapper.Restful2ActionMapper
所有已实现的接口:
ActionMapper

public class Restful2ActionMapper
extends DefaultActionMapper

Extended version of RestfulActionMapper, see documentation for more details http://struts.apache.org/2.x/docs/restfulactionmapper.html


字段摘要
static String HTTP_METHOD_PARAM
           
 
构造方法摘要
Restful2ActionMapper()
           
 
方法摘要
 String getIdParameterName()
           
 ActionMapping getMapping(javax.servlet.http.HttpServletRequest request, com.opensymphony.xwork2.config.ConfigurationManager configManager)
          Expose the ActionMapping for the current request
 void setIdParameterName(String idParameterName)
           
 
从类 org.apache.struts2.dispatcher.mapper.DefaultActionMapper 继承的方法
getMappingFromActionName, getUriFromActionMapping, handleSpecialParameters, isSlashesInActionNames, setAllowActionCrossNamespaceAccess, setAllowActionPrefix, setAllowDynamicMethodCalls, setAllowedActionNames, setAlwaysSelectFullNamespace, setContainer, setExtensions, setSlashesInActionNames
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

HTTP_METHOD_PARAM

public static final String HTTP_METHOD_PARAM
另请参见:
常量字段值
构造方法详细信息

Restful2ActionMapper

public Restful2ActionMapper()
方法详细信息

getMapping

public ActionMapping getMapping(javax.servlet.http.HttpServletRequest request,
                                com.opensymphony.xwork2.config.ConfigurationManager configManager)
从接口 ActionMapper 复制的描述
Expose the ActionMapping for the current request

指定者:
接口 ActionMapper 中的 getMapping
覆盖:
DefaultActionMapper 中的 getMapping
参数:
request - The servlet request
configManager - The current configuration manager
返回:
The appropriate action mapping or null if mapping cannot be determined

getIdParameterName

public String getIdParameterName()

setIdParameterName

public void setIdParameterName(String idParameterName)