Example usage for Java org.springframework.web.servlet.handler SimpleUrlHandlerMapping fields, constructors, methods, implement or subclass
The text is from its open source code.
SimpleUrlHandlerMapping() Create a SimpleUrlHandlerMapping with default settings. |
Map | getHandlerMap() Return the registered handlers as an unmodifiable Map, with the registered path as key and the handler object (or handler bean name in case of a lazy-init handler) as value. |
PathMatcher | getPathMatcher() Return the PathMatcher implementation to use for matching URL paths against registered URL patterns. |
Map | getUrlMap() Allow Map access to the URL path mappings, with the option to add or override specific entries. |
void | setAlwaysUseFullPath(boolean alwaysUseFullPath) Shortcut to same property on underlying #setUrlPathHelper UrlPathHelper . |
void | setDefaultHandler(@Nullable Object defaultHandler) Set the default handler for this handler mapping. |
void | setMappings(Properties mappings) Map URL paths to handler bean names. |
void | setOrder(int order) Specify the order value for this HandlerMapping bean. |
void | setUrlMap(Map Set a Map with URL paths as keys and handler beans (or handler bean names) as values. |
void | setUrlPathHelper(UrlPathHelper urlPathHelper) Set the UrlPathHelper to use for resolution of lookup paths. |