| java.lang.Object org.springframework.context.support.ApplicationObjectSupport org.springframework.web.portlet.handler.AbstractHandlerMapping
All known Subclasses: org.springframework.web.portlet.handler.AbstractMapBasedHandlerMapping,
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, PortletRequest 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 portlet request the HandlerExecutionChain (never null ) See Also: AbstractHandlerMapping.getAdaptedInterceptors() |
getHandlerInternal | abstract protected Object getHandlerInternal(PortletRequest 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 portlet request the corresponding handler instance, or null if none found throws: Exception - if there is an internal error See Also: AbstractHandlerMapping.getHandler |
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.
|
Fields inherited from org.springframework.context.support.ApplicationObjectSupport | final protected Log logger(Code)(Java Doc)
|
|
|