Java org.springframework.web.servlet.handler SimpleUrlHandlerMapping fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.web.servlet.handler SimpleUrlHandlerMapping fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.web.servlet.handler SimpleUrlHandlerMapping.

The text is from its open source code.

Subclass

org.springframework.web.servlet.handler.SimpleUrlHandlerMapping has subclasses.
Click this link to see all its subclasses.

Constructor

SimpleUrlHandlerMapping()
Create a SimpleUrlHandlerMapping with default settings.

Method

MapgetHandlerMap()
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.
PathMatchergetPathMatcher()
Return the PathMatcher implementation to use for matching URL paths against registered URL patterns.
MapgetUrlMap()
Allow Map access to the URL path mappings, with the option to add or override specific entries.
voidsetAlwaysUseFullPath(boolean alwaysUseFullPath)
Shortcut to same property on underlying #setUrlPathHelper UrlPathHelper .
voidsetDefaultHandler(@Nullable Object defaultHandler)
Set the default handler for this handler mapping.
voidsetMappings(Properties mappings)
Map URL paths to handler bean names.
voidsetOrder(int order)
Specify the order value for this HandlerMapping bean.
voidsetUrlMap(Map urlMap)
Set a Map with URL paths as keys and handler beans (or handler bean names) as values.
voidsetUrlPathHelper(UrlPathHelper urlPathHelper)
Set the UrlPathHelper to use for resolution of lookup paths.