Top Description Interfaces Classes
module spring.webmvc

Package org.springframework.web.servlet.handler

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Provides standard HandlerMapping implementations, including abstract base classes for custom implementations.

Interface Summary

Modifier and TypeInterface and Description
public interface
HandlerMethodMappingNamingStrategy<
the mapping type
T
>

A strategy for assigning a name to a handler method's mapping.

public interface
MatchableHandlerMapping

Additional interface that a HandlerMapping can implement to expose a request matching API aligned with its internal request matching configuration and implementation.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractDetectingUrlHandlerMapping

Abstract implementation of the org.springframework.web.servlet.HandlerMapping interface, detecting URL mappings for handler beans through introspection of all defined beans in the application context.

public abstract class
AbstractHandlerExceptionResolver

Abstract base class for HandlerExceptionResolver implementations.

public abstract class
public abstract class
AbstractHandlerMethodExceptionResolver

Abstract base class for HandlerExceptionResolver implementations that support handling exceptions from handlers of type HandlerMethod.

public abstract class
AbstractHandlerMethodMapping<
the mapping for a HandlerMethod containing the conditions needed to match the handler method to an incoming request.
T
>

Abstract base class for HandlerMapping implementations that define a mapping between a request and a HandlerMethod.

public abstract class
AbstractUrlHandlerMapping

Abstract base class for URL-mapped HandlerMapping implementations.

public class
BeanNameUrlHandlerMapping

Implementation of the org.springframework.web.servlet.HandlerMapping interface that maps from URLs to beans with names that start with a slash ("/"), similar to how Struts maps URLs to action names.

public class
ConversionServiceExposingInterceptor

Interceptor that places the configured ConversionService in request scope so it's available during request processing.

public class
DispatcherServletWebRequest

ServletWebRequest subclass that is aware of org.springframework.web.servlet.DispatcherServlet's request context, such as the Locale determined by the configured org.springframework.web.servlet.LocaleResolver.

public class
public class
HandlerMappingIntrospector

Helper class to get information from the HandlerMapping that would serve a specific request.

public class
MappedInterceptor

Wraps a HandlerInterceptor and uses URL patterns to determine whether it applies to a given request.

pack-priv class
PathPatternMatchableHandlerMapping

Decorate another MatchableHandlerMapping that's configured with a PathPatternParser in order to parse and cache String patterns passed into the match method.

public class
RequestMatchResult

Container for the result from request pattern matching via MatchableHandlerMapping with a method to further extract URI template variables from the pattern.

public class
SimpleMappingExceptionResolver

org.springframework.web.servlet.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.

public class
SimpleServletHandlerAdapter

Adapter to use the Servlet interface with the generic DispatcherServlet.

public class
SimpleServletPostProcessor

org.springframework.beans.factory.config.BeanPostProcessor that applies initialization and destruction callbacks to beans that implement the jakarta.servlet.Servlet interface.

public class
SimpleUrlHandlerMapping

Implementation of the org.springframework.web.servlet.HandlerMapping interface that maps from URLs to request handler beans.

public class
UserRoleAuthorizationInterceptor

Interceptor that checks the authorization of the current user via the user's roles, as evaluated by HttpServletRequest's isUserInRole method.

public class
WebRequestHandlerInterceptorAdapter

Adapter that implements the Servlet HandlerInterceptor interface and wraps an underlying WebRequestInterceptor.