| org.springframework.web.context.support.WebApplicationObjectSupport org.springframework.web.servlet.handler.AbstractHandlerMapping
All known Subclasses: org.springframework.web.servlet.handler.AbstractUrlHandlerMapping,
extendInterceptors | protected void extendInterceptors(List interceptors)(Code) | | Extension hook that subclasses can override to register additional interceptors,
given the configured interceptors (see
AbstractHandlerMapping.setInterceptors ).
Will be invoked before
AbstractHandlerMapping.initInterceptors() adapts the specified
interceptors into
HandlerInterceptor instances.
The default implementation is empty.
Parameters: interceptors - the configured interceptor List (never null ),allowing to add further interceptors before as well as after the existinginterceptors |
getAdaptedInterceptors | final protected HandlerInterceptor[] getAdaptedInterceptors()(Code) | | Return the adapted interceptors as HandlerInterceptor array.
the array of HandlerInterceptors, or null if none |
getDefaultHandler | public Object getDefaultHandler()(Code) | | Return the default handler for this handler mapping,
or null if none.
|
getHandlerExecutionChain | protected HandlerExecutionChain getHandlerExecutionChain(Object handler, HttpServletRequest request)(Code) | | Build a HandlerExecutionChain for the given handler, including applicable interceptors.
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.
Parameters: handler - the resolved handler instance (never null ) Parameters: request - current HTTP request the HandlerExecutionChain (never null ) See Also: AbstractHandlerMapping.getAdaptedInterceptors() |
getHandlerInternal | abstract protected Object getHandlerInternal(HttpServletRequest request) throws Exception(Code) | | Look up a handler for the given request, returning 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.
Parameters: request - current HTTP request the corresponding handler instance, or null if none found throws: Exception - if there is an internal error |
getOrder | final public int getOrder()(Code) | | |
setDefaultHandler | public void setDefaultHandler(Object defaultHandler)(Code) | | Set the default handler for this handler mapping.
This handler will be returned if no specific mapping was found.
Default is null , indicating no default handler.
|
|
|