| Package | Description | 
|---|---|
| org.springframework.web.servlet | Provides servlets that integrate with the application context
 infrastructure, and the core interfaces and classes for the
 Spring web MVC framework. | 
| org.springframework.web.servlet.config.annotation | Annotation-based setup for Spring MVC. | 
| org.springframework.web.servlet.function.support | Classes supporting the  org.springframework.web.servlet.functionpackage. | 
| org.springframework.web.servlet.handler | Provides standard HandlerMapping implementations,
 including abstract base classes for custom implementations. | 
| org.springframework.web.servlet.mvc.method | Servlet-based infrastructure for handler method processing,
 building on the  org.springframework.web.methodpackage. | 
| org.springframework.web.servlet.mvc.method.annotation | MVC infrastructure for annotation-based handler method processing, building on the
  org.springframework.web.method.annotationpackage. | 
| org.springframework.web.socket.config.annotation | Support for annotation-based WebSocket setup in configuration classes. | 
| org.springframework.web.socket.server.support | Server-side support classes including container-specific strategies
 for upgrading a request. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<HandlerMapping> | DispatcherServlet. getHandlerMappings()Return the configured  HandlerMappingbeans that were detected by
 type in theWebApplicationContextor initialized based on the
 default set of strategies from DispatcherServlet.properties. | 
| Modifier and Type | Method and Description | 
|---|---|
| HandlerMapping | WebMvcConfigurationSupport. defaultServletHandlerMapping()Return a handler mapping ordered at Integer.MAX_VALUE with a mapped
 default servlet handler. | 
| HandlerMapping | WebMvcConfigurationSupport. resourceHandlerMapping(ContentNegotiationManager contentNegotiationManager,
                      FormattingConversionService conversionService,
                      ResourceUrlProvider resourceUrlProvider)Return a handler mapping ordered at Integer.MAX_VALUE-1 with mapped
 resource handlers. | 
| HandlerMapping | WebMvcConfigurationSupport. viewControllerHandlerMapping(FormattingConversionService conversionService,
                            ResourceUrlProvider resourceUrlProvider)Return a handler mapping ordered at 1 to map URL paths directly to
 view names. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | RouterFunctionMappingHandlerMappingimplementation that supportsRouterFunctions. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | MatchableHandlerMappingAdditional interface that a  HandlerMappingcan implement to expose
 a request matching API aligned with its internal request matching
 configuration and implementation. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractDetectingUrlHandlerMappingAbstract implementation of the  HandlerMappinginterface, detecting URL mappings for handler beans through introspection of all
 defined beans in the application context. | 
| class  | AbstractHandlerMappingAbstract base class for  HandlerMappingimplementations. | 
| class  | AbstractHandlerMethodMapping<T>Abstract base class for  HandlerMappingimplementations that define
 a mapping between a request and aHandlerMethod. | 
| class  | AbstractUrlHandlerMappingAbstract base class for URL-mapped  HandlerMappingimplementations. | 
| class  | BeanNameUrlHandlerMappingImplementation of the  HandlerMappinginterface that maps from URLs to beans with names that start with a slash ("/"),
 similar to how Struts maps URLs to action names. | 
| class  | SimpleUrlHandlerMappingImplementation of the  HandlerMappinginterface that maps from URLs to request handler beans. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<HandlerMapping> | HandlerMappingIntrospector. getHandlerMappings()Return the configured or detected HandlerMapping's. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | RequestMappingInfoHandlerMappingAbstract base class for classes for which  RequestMappingInfodefines
 the mapping between a request and a handler method. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | RequestMappingHandlerMappingCreates  RequestMappingInfoinstances from type and method-level@RequestMappingannotations in@Controllerclasses. | 
| Modifier and Type | Method and Description | 
|---|---|
| HandlerMapping | WebSocketMessageBrokerConfigurationSupport. stompWebSocketHandlerMapping() | 
| HandlerMapping | WebSocketConfigurationSupport. webSocketHandlerMapping() | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | WebSocketHandlerMappingAn extension of  SimpleUrlHandlerMappingthat is also aSmartLifecyclecontainer and propagates start and stop calls to any
 handlers that implementLifecycle. |