| org.riotfamily.common.web.mapping.ReverseHandlerMapping
All known Subclasses: org.riotfamily.common.web.mapping.AbstractReverseHandlerMapping,
ReverseHandlerMapping | public interface ReverseHandlerMapping (Code) | | Interface that can be implemented by
HandlerMapping HandlerMappings
in order to allow reverse lookups. This way you can obtain an URL for a
mapped handler.
author: Felix Gnass [fgnass at neteye dot de] since: 6.5 |
Method Summary | |
public String | getUrlForHandler(String handlerName, String prefix, Object attributes, HttpServletRequest request) Returns the URL of a mapped handler.
Parameters: handlerName - The name of the handler Parameters: prefix - Optional prefix to sort out ambiguities Parameters: attributes - Optional attributes to fill out wildcards. |
TOP_LEVEL_HANDLER_NAME_ATTRIBUTE | String TOP_LEVEL_HANDLER_NAME_ATTRIBUTE(Code) | | Name of the
HttpServletRequest attribute that contains the
beanName of the matched handler.
Note: This attribute is not required to be supported by all
ReverseHandlerMapping implementations.
|
getUrlForHandler | public String getUrlForHandler(String handlerName, String prefix, Object attributes, HttpServletRequest request)(Code) | | Returns the URL of a mapped handler.
Parameters: handlerName - The name of the handler Parameters: prefix - Optional prefix to sort out ambiguities Parameters: attributes - Optional attributes to fill out wildcards. Can either be null , a primitive wrapper, a Map or a bean. Parameters: request - The current request |
|
|