Uses of Interface
org.springframework.web.servlet.HandlerMapping
Package
Description
Provides servlets that integrate with the application context
infrastructure, and the core interfaces and classes for the
Spring web MVC framework.
Annotation-based setup for Spring MVC.
Classes supporting the
org.springframework.web.servlet.function
package.Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
Servlet-based infrastructure for handler method processing,
building on the
org.springframework.web.method
package.MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.Support for annotation-based WebSocket setup in configuration classes.
Server-side support classes including container-specific strategies
for upgrading a request.
-
Uses of HandlerMapping in org.springframework.web.servlet
Modifier and TypeMethodDescriptionfinal List<HandlerMapping>
DispatcherServlet.getHandlerMappings()
Return the configuredHandlerMapping
beans that were detected by type in theWebApplicationContext
or initialized based on the default set of strategies from DispatcherServlet.properties. -
Uses of HandlerMapping in org.springframework.web.servlet.config.annotation
Modifier and TypeMethodDescriptionWebMvcConfigurationSupport.defaultServletHandlerMapping()
Return a handler mapping ordered at Integer.MAX_VALUE with a mapped default servlet handler.WebMvcConfigurationSupport.resourceHandlerMapping
(ContentNegotiationManager contentNegotiationManager, FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped resource handlers.WebMvcConfigurationSupport.viewControllerHandlerMapping
(FormattingConversionService conversionService, ResourceUrlProvider resourceUrlProvider) Return a handler mapping ordered at 1 to map URL paths directly to view names. -
Uses of HandlerMapping in org.springframework.web.servlet.function.support
Modifier and TypeClassDescriptionclass
HandlerMapping
implementation that supportsRouterFunctions
. -
Uses of HandlerMapping in org.springframework.web.servlet.handler
Modifier and TypeInterfaceDescriptioninterface
Additional interface that aHandlerMapping
can implement to expose a request matching API aligned with its internal request matching configuration and implementation.Modifier and TypeClassDescriptionclass
Abstract implementation of theHandlerMapping
interface, detecting URL mappings for handler beans through introspection of all defined beans in the application context.class
Abstract base class forHandlerMapping
implementations.class
Abstract base class forHandlerMapping
implementations that define a mapping between a request and aHandlerMethod
.class
Abstract base class for URL-mappedHandlerMapping
implementations.class
Implementation of theHandlerMapping
interface that maps from URLs to beans with names that start with a slash ("/"), similar to how Struts maps URLs to action names.class
Implementation of theHandlerMapping
interface that maps from URLs to request handler beans.Modifier and TypeMethodDescriptionHandlerMappingIntrospector.getHandlerMappings()
Return the configured or detectedHandlerMapping
s. -
Uses of HandlerMapping in org.springframework.web.servlet.mvc.method
Modifier and TypeClassDescriptionclass
Abstract base class for classes for whichRequestMappingInfo
defines the mapping between a request and a handler method. -
Uses of HandlerMapping in org.springframework.web.servlet.mvc.method.annotation
Modifier and TypeClassDescriptionclass
CreatesRequestMappingInfo
instances from type and method-level@RequestMapping
annotations in@Controller
classes. -
Uses of HandlerMapping in org.springframework.web.socket.config.annotation
Modifier and TypeMethodDescriptionWebSocketMessageBrokerConfigurationSupport.stompWebSocketHandlerMapping
(WebSocketHandler subProtocolWebSocketHandler, TaskScheduler messageBrokerTaskScheduler) WebSocketConfigurationSupport.webSocketHandlerMapping
(org.springframework.web.socket.config.annotation.WebSocketConfigurationSupport.DefaultSockJsSchedulerContainer schedulerContainer) -
Uses of HandlerMapping in org.springframework.web.socket.server.support
Modifier and TypeClassDescriptionclass
Extension ofSimpleUrlHandlerMapping
with support for more precise mapping of WebSocket handshake requests to handlers of typeWebSocketHttpRequestHandler
.