Package | Description |
---|---|
org.springframework.web.servlet.config.annotation |
Annotation-based setup for Spring MVC.
|
org.springframework.web.servlet.handler |
Provides standard HandlerMapping implementations,
including abstract base classes for custom implementations.
|
org.springframework.web.servlet.mvc.annotation |
Support package for annotation-based Servlet MVC controllers.
|
org.springframework.web.servlet.mvc.method |
Servlet-based infrastructure for handler method processing,
building on the
org.springframework.web.method package. |
org.springframework.web.servlet.mvc.method.annotation |
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation package. |
org.springframework.web.servlet.mvc.support |
Support package for MVC controllers.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractHandlerMapping |
ResourceHandlerRegistry.getHandlerMapping()
Return a handler mapping with the mapped resource handlers; or
null in case of no registrations. |
protected AbstractHandlerMapping |
DefaultServletHandlerConfigurer.getHandlerMapping()
Return a handler mapping instance ordered at
Integer.MAX_VALUE containing the
DefaultServletHttpRequestHandler instance mapped to "/**" ; or null if
default servlet handling was not been enabled. |
protected AbstractHandlerMapping |
ViewControllerRegistry.getHandlerMapping()
Returns a handler mapping with the mapped ViewControllers; or
null in case of no registrations. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDetectingUrlHandlerMapping
Abstract implementation of the
HandlerMapping
interface, detecting URL mappings for handler beans through introspection of all
defined beans in the application context. |
class |
AbstractHandlerMethodMapping<T>
Abstract base class for
HandlerMapping implementations that define a
mapping between a request and a HandlerMethod . |
class |
AbstractUrlHandlerMapping
Abstract base class for URL-mapped
HandlerMapping
implementations. |
class |
BeanNameUrlHandlerMapping
Implementation of the
HandlerMapping
interface that map from URLs to beans with names that start with a slash ("/"),
similar to how Struts maps URLs to action names. |
class |
SimpleUrlHandlerMapping
Implementation of the
HandlerMapping
interface to map from URLs to request handler beans. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultAnnotationHandlerMapping
Deprecated.
in Spring 3.2 in favor of
RequestMappingHandlerMapping |
Modifier and Type | Class and Description |
---|---|
class |
RequestMappingInfoHandlerMapping
Abstract base class for classes for which
RequestMappingInfo defines
the mapping between a request and a handler method. |
Modifier and Type | Class and Description |
---|---|
class |
RequestMappingHandlerMapping
Creates
RequestMappingInfo instances from type and method-level
@RequestMapping annotations in
@Controller classes. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractControllerUrlHandlerMapping
Base class for
HandlerMapping implementations
that derive URL paths according to conventions for specific controller types. |
class |
ControllerBeanNameHandlerMapping
Implementation of
HandlerMapping that
follows a simple convention for generating URL path mappings from the bean names
of registered Controller beans
as well as @Controller annotated beans. |
class |
ControllerClassNameHandlerMapping
Implementation of
HandlerMapping that
follows a simple convention for generating URL path mappings from the class names
of registered Controller beans
as well as @Controller annotated beans. |
Copyright © 2015. All rights reserved.