public class WebDispatcherServlet extends CommonDispatcherServlet
限定符和类型 | 字段和说明 |
---|---|
static java.lang.String |
GLOBLE_URL_PREFIX |
private static int |
GLOBLE_URL_PREFIX_LENGTH |
private org.springframework.web.HttpRequestHandler |
installHandler |
private static long |
serialVersionUID |
private SiteComponent |
siteComponent |
EXCEPTION_ATTRIBUTE, FLASH_MAP_MANAGER_ATTRIBUTE, FLASH_MAP_MANAGER_BEAN_NAME, HANDLER_ADAPTER_BEAN_NAME, HANDLER_EXCEPTION_RESOLVER_BEAN_NAME, HANDLER_MAPPING_BEAN_NAME, INPUT_FLASH_MAP_ATTRIBUTE, LOCALE_RESOLVER_ATTRIBUTE, LOCALE_RESOLVER_BEAN_NAME, MULTIPART_RESOLVER_BEAN_NAME, OUTPUT_FLASH_MAP_ATTRIBUTE, PAGE_NOT_FOUND_LOG_CATEGORY, pageNotFoundLogger, REQUEST_TO_VIEW_NAME_TRANSLATOR_BEAN_NAME, THEME_RESOLVER_ATTRIBUTE, THEME_RESOLVER_BEAN_NAME, THEME_SOURCE_ATTRIBUTE, VIEW_RESOLVER_BEAN_NAME, WEB_APPLICATION_CONTEXT_ATTRIBUTE
构造器和说明 |
---|
WebDispatcherServlet(org.springframework.web.context.WebApplicationContext applicationContext,
org.springframework.web.HttpRequestHandler installHandler) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
doService(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
SiteComponent |
getSiteComponent() |
protected org.springframework.web.servlet.View |
resolveViewName(java.lang.String viewName,
java.util.Map<java.lang.String,java.lang.Object> model,
java.util.Locale locale,
javax.servlet.http.HttpServletRequest request) |
render
buildLocaleContext, checkMultipart, cleanupMultipart, createDefaultStrategy, doDispatch, getDefaultStrategies, getDefaultStrategy, getDefaultViewName, getHandler, getHandlerAdapter, getHandlerMappings, getMultipartResolver, getThemeSource, initStrategies, noHandlerFound, onRefresh, processHandlerException, setCleanupAfterInclude, setDetectAllHandlerAdapters, setDetectAllHandlerExceptionResolvers, setDetectAllHandlerMappings, setDetectAllViewResolvers, setThrowExceptionIfNoHandlerFound
applyInitializers, buildRequestAttributes, configureAndRefreshWebApplicationContext, createWebApplicationContext, createWebApplicationContext, destroy, doDelete, doGet, doOptions, doPost, doPut, doTrace, findWebApplicationContext, getContextAttribute, getContextClass, getContextConfigLocation, getContextId, getNamespace, getServletContextAttributeName, getUsernameForRequest, getWebApplicationContext, initFrameworkServlet, initServletBean, initWebApplicationContext, isEnableLoggingRequestDetails, onApplicationEvent, postProcessWebApplicationContext, processRequest, refresh, service, setApplicationContext, setContextAttribute, setContextClass, setContextConfigLocation, setContextId, setContextInitializerClasses, setContextInitializers, setDispatchOptionsRequest, setDispatchTraceRequest, setEnableLoggingRequestDetails, setNamespace, setPublishContext, setPublishEvents, setThreadContextInheritable
addRequiredProperty, createEnvironment, getEnvironment, getServletName, init, initBeanWrapper, setEnvironment
private static final long serialVersionUID
private SiteComponent siteComponent
public static final java.lang.String GLOBLE_URL_PREFIX
private static final int GLOBLE_URL_PREFIX_LENGTH
private org.springframework.web.HttpRequestHandler installHandler
public WebDispatcherServlet(org.springframework.web.context.WebApplicationContext applicationContext, org.springframework.web.HttpRequestHandler installHandler)
applicationContext
- installHandler
- protected void doService(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
doService
在类中 org.springframework.web.servlet.DispatcherServlet
java.lang.Exception
protected org.springframework.web.servlet.View resolveViewName(java.lang.String viewName, java.util.Map<java.lang.String,java.lang.Object> model, java.util.Locale locale, javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
resolveViewName
在类中 CommonDispatcherServlet
java.lang.Exception
public SiteComponent getSiteComponent()