Package org.springframework.web.servlet.handler
@NullMarked
package org.springframework.web.servlet.handler
Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
-
ClassDescriptionAbstract implementation of the
HandlerMapping
interface, detecting URL mappings for handler beans through introspection of all defined beans in the application context.Abstract base class forHandlerExceptionResolver
implementations.Abstract base class forHandlerMapping
implementations.Abstract base class forHandlerExceptionResolver
implementations that support handling exceptions from handlers of typeHandlerMethod
.Abstract base class forHandlerMapping
implementations that define a mapping between a request and aHandlerMethod
.Abstract base class for URL-mappedHandlerMapping
implementations.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.Interceptor that places the configuredConversionService
in request scope so it's available during request processing.ServletWebRequest
subclass that is aware ofDispatcherServlet
's request context, such as the Locale determined by the configuredLocaleResolver
.AHandlerExceptionResolver
that delegates to a list of otherHandlerExceptionResolvers
.Helper class to get information from theHandlerMapping
that would serve a specific request.Container for aMatchableHandlerMapping
andCorsConfiguration
for a given request matched by dispatcher type and requestURI.A strategy for assigning a name to a handler method's mapping.Wraps aHandlerInterceptor
and uses URL patterns to determine whether it applies to a given request.Additional interface that aHandlerMapping
can implement to expose a request matching API aligned with its internal request matching configuration and implementation.Container for the result from request pattern matching viaMatchableHandlerMapping
with a method to further extract URI template variables from the pattern.HandlerExceptionResolver
implementation that allows for mapping exception class names to view names, either for a set of given handlers or for all handlers in the DispatcherServlet.Adapter to use the Servlet interface with the generic DispatcherServlet.BeanPostProcessor
that applies initialization and destruction callbacks to beans that implement theServlet
interface.Implementation of theHandlerMapping
interface that maps from URLs to request handler beans.Interceptor that checks the authorization of the current user via the user's roles, as evaluated by HttpServletRequest's isUserInRole method.Adapter that implements the Servlet HandlerInterceptor interface and wraps an underlying WebRequestInterceptor.