org.springframework.web.servlet.config.annotation
Class WebMvcConfigurationSupport.EmptyHandlerMapping

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.web.servlet.handler.AbstractHandlerMapping
              extended by org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport.EmptyHandlerMapping
All Implemented Interfaces:
Aware, ApplicationContextAware, Ordered, ServletContextAware, HandlerMapping
Enclosing class:
WebMvcConfigurationSupport

private static final class WebMvcConfigurationSupport.EmptyHandlerMapping
extends AbstractHandlerMapping


Field Summary
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Fields inherited from interface org.springframework.web.servlet.HandlerMapping
BEST_MATCHING_PATTERN_ATTRIBUTE, INTROSPECT_TYPE_LEVEL_MAPPING, PATH_WITHIN_HANDLER_MAPPING_ATTRIBUTE, PRODUCIBLE_MEDIA_TYPES_ATTRIBUTE, URI_TEMPLATE_VARIABLES_ATTRIBUTE
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
private WebMvcConfigurationSupport.EmptyHandlerMapping()
           
 
Method Summary
protected  java.lang.Object getHandlerInternal(HttpServletRequest request)
          Look up a handler for the given request, returning null if no specific one is found.
 
Methods inherited from class org.springframework.web.servlet.handler.AbstractHandlerMapping
adaptInterceptor, detectMappedInterceptors, extendInterceptors, getAdaptedInterceptors, getDefaultHandler, getHandler, getHandlerExecutionChain, getMappedInterceptors, getOrder, getPathMatcher, getUrlPathHelper, initApplicationContext, initInterceptors, setAlwaysUseFullPath, setDefaultHandler, setInterceptors, setOrder, setPathMatcher, setUrlDecode, setUrlPathHelper
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebMvcConfigurationSupport.EmptyHandlerMapping

private WebMvcConfigurationSupport.EmptyHandlerMapping()
Method Detail

getHandlerInternal

protected java.lang.Object getHandlerInternal(HttpServletRequest request)
                                       throws java.lang.Exception
Description copied from class: AbstractHandlerMapping
Look up a handler for the given request, returning null if no specific one is found. This method is called by AbstractHandlerMapping.getHandler(HttpServletRequest); 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.

Specified by:
getHandlerInternal in class AbstractHandlerMapping
Parameters:
request - current HTTP request
Returns:
the corresponding handler instance, or null if none found
Throws:
java.lang.Exception - if there is an internal error