public class CommonDispatcherServlet
extends org.springframework.web.servlet.DispatcherServlet
限定符和类型 | 字段和说明 |
---|---|
private static int |
REDIRECT_URL_PREFIX_LENGTH |
private static long |
serialVersionUID |
private static java.lang.String |
SPECIAL_REDIRECT_URL |
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
构造器和说明 |
---|
CommonDispatcherServlet(org.springframework.web.context.WebApplicationContext webApplicationContext) |
限定符和类型 | 方法和说明 |
---|---|
void |
render(org.springframework.web.servlet.ModelAndView mv,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
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) |
buildLocaleContext, checkMultipart, cleanupMultipart, createDefaultStrategy, doDispatch, doService, 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 static final int REDIRECT_URL_PREFIX_LENGTH
private static final java.lang.String SPECIAL_REDIRECT_URL
public CommonDispatcherServlet(org.springframework.web.context.WebApplicationContext webApplicationContext)
webApplicationContext
- public void render(org.springframework.web.servlet.ModelAndView mv, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
render
在类中 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
在类中 org.springframework.web.servlet.DispatcherServlet
java.lang.Exception