public class Restful2ActionMapper extends DefaultActionMapper
RestfulActionMapper
, see documentation for more details
http://struts.apache.org/docs/restfulactionmapper.htmlModifier and Type | Field and Description |
---|---|
static String |
HTTP_METHOD_PARAM |
protected static org.apache.logging.log4j.Logger |
LOG |
ACTION_PREFIX, allowDynamicMethodCalls, allowedActionNames, allowedMethodNames, allowedNamespaceNames, allowSlashesInActionNames, alwaysSelectFullNamespace, container, defaultActionName, defaultMethodName, defaultNamespaceName, extensions, METHOD_PREFIX, prefixTrie
Constructor and Description |
---|
Restful2ActionMapper() |
Modifier and Type | Method and Description |
---|---|
String |
getIdParameterName() |
ActionMapping |
getMapping(javax.servlet.http.HttpServletRequest request,
ConfigurationManager configManager)
Expose the ActionMapping for the current request
|
protected boolean |
isDelete(javax.servlet.http.HttpServletRequest request) |
protected boolean |
isGet(javax.servlet.http.HttpServletRequest request) |
protected boolean |
isPost(javax.servlet.http.HttpServletRequest request) |
protected boolean |
isPut(javax.servlet.http.HttpServletRequest request) |
void |
setIdParameterName(String idParameterName) |
addParameterAction, cleanupActionName, cleanupMethodName, cleanupNamespaceName, dropExtension, getDefaultExtension, getMappingFromActionName, getUriFromActionMapping, handleDynamicMethod, handleExtension, handleName, handleNamespace, handleParams, handleSpecialParameters, isSlashesInActionNames, lookupExtension, parseActionName, parseNameAndNamespace, setAllowActionCrossNamespaceAccess, setAllowActionPrefix, setAllowDynamicMethodCalls, setAllowedActionNames, setAllowedMethodNames, setAllowedNamespaceNames, setAlwaysSelectFullNamespace, setContainer, setDefaultActionName, setDefaultMethodName, setDefaultNamespaceName, setExtensions, setSlashesInActionNames
protected static final org.apache.logging.log4j.Logger LOG
public static final String HTTP_METHOD_PARAM
public ActionMapping getMapping(javax.servlet.http.HttpServletRequest request, ConfigurationManager configManager)
ActionMapper
getMapping
in interface ActionMapper
getMapping
in class DefaultActionMapper
request
- The servlet requestconfigManager
- The current configuration managerprotected boolean isGet(javax.servlet.http.HttpServletRequest request)
protected boolean isPost(javax.servlet.http.HttpServletRequest request)
protected boolean isPut(javax.servlet.http.HttpServletRequest request)
protected boolean isDelete(javax.servlet.http.HttpServletRequest request)
public String getIdParameterName()
public void setIdParameterName(String idParameterName)
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.