|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActionMapper
The ActionMapper is responsible for providing a mapping between HTTP requests and action invocation requests and
vice-versa. When given an HttpServletRequest, the ActionMapper may return null if no action invocation request maps,
or it may return an ActionMapping
that describes an action invocation that Struts should attempt to try. The
ActionMapper is not required to guarantee that the ActionMapping
returned be a real action or otherwise
ensure a valid request. This means that most ActionMappers do not need to consult the Struts configuration to
determine if a request should be mapped.
Method Summary | |
---|---|
ActionMapping |
getMapping(javax.servlet.http.HttpServletRequest request,
com.opensymphony.xwork2.config.ConfigurationManager configManager)
Gets an action mapping for the current request |
java.lang.String |
getUriFromActionMapping(ActionMapping mapping)
Converts an ActionMapping into a URI string |
Method Detail |
---|
ActionMapping getMapping(javax.servlet.http.HttpServletRequest request, com.opensymphony.xwork2.config.ConfigurationManager configManager)
request
- The servlet requestconfig
- The current configuration manager
java.lang.String getUriFromActionMapping(ActionMapping mapping)
mapping
- The action mapping
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |