java.lang.Objectorg.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.handler.AbstractHandlerMapping
All Implemented Interfaces:
HandlerMapping, Ordered, ServletContextAware, ApplicationContextAware
Direct Known Subclasses:
DefaultAnnotationHandlerMapping, AbstractPathMapHandlerMapping, ControllerBeanNameHandlerMapping, CommonsPathMapHandlerMapping, BeanNameUrlHandlerMapping, AbstractUrlHandlerMapping, SimpleUrlHandlerMapping, AbstractControllerUrlHandlerMapping, ControllerClassNameHandlerMapping, AbstractDetectingUrlHandlerMapping
Note: This base class does not support exposure of the #PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE . Support for this attribute is up to concrete subclasses, typically based on request URL mappings.
Juergen - Hoeller07.04.2003 - | Fields inherited from org.springframework.context.support.ApplicationObjectSupport: |
|---|
| logger |
| Method from org.springframework.web.servlet.handler.AbstractHandlerMapping Summary: |
|---|
| adaptInterceptor, extendInterceptors, getAdaptedInterceptors, getDefaultHandler, getHandler, getHandlerExecutionChain, getHandlerInternal, getOrder, initApplicationContext, initInterceptors, setDefaultHandler, setInterceptors, setOrder |
| Methods from org.springframework.web.context.support.WebApplicationObjectSupport: |
|---|
| getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext |
| Methods from org.springframework.context.support.ApplicationObjectSupport: |
|---|
| getApplicationContext, getMessageSourceAccessor, initApplicationContext, initApplicationContext, isContextRequired, requiredContextClass, setApplicationContext |
| Methods from java.lang.Object: |
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from org.springframework.web.servlet.handler.AbstractHandlerMapping Detail: |
|---|
Supported interceptor types are HandlerInterceptor and WebRequestInterceptor. Each given WebRequestInterceptor will be wrapped in a WebRequestHandlerInterceptorAdapter. Can be overridden in subclasses. |
Will be invoked before #initInterceptors() adapts the specified interceptors into HandlerInterceptor instances. The default implementation is empty. |
|
null if none. |
|
The default implementation simply builds a standard HandlerExecutionChain with the given handler and this handler mapping's common interceptors. Subclasses may override this in order to extend/rearrange the list of interceptors. NOTE: The passed-in handler object may be a raw handler or a pre-built HandlerExecutionChain. This method should handle those two cases explicitly, either building a new HandlerExecutionChain or extending the existing chain. For simply adding an interceptor, consider calling |
null if no
specific one is found. This method is called by #getHandler ;
a null return value will lead to the default handler, if one is set.
Note: This method may also return a pre-built HandlerExecutionChain , combining a handler object with dynamically determined interceptors. Statically specified interceptors will get merged into such an existing chain. |
|
|
|
Default is |
Supported interceptor types are HandlerInterceptor and WebRequestInterceptor. |
Default value is |