Class WebDispatcherServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.context.EnvironmentAware, org.springframework.core.env.EnvironmentCapable

    public class WebDispatcherServlet
    extends org.springframework.web.servlet.DispatcherServlet
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.springframework.web.servlet.DispatcherServlet

        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
      • Fields inherited from class org.springframework.web.servlet.FrameworkServlet

        DEFAULT_CONTEXT_CLASS, DEFAULT_NAMESPACE_SUFFIX, SERVLET_CONTEXT_PREFIX
      • Fields inherited from class org.springframework.web.servlet.HttpServletBean

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addWebContext​(String pliginName, org.springframework.context.ApplicationContext context)  
      protected org.springframework.web.context.WebApplicationContext createWebApplicationContext​(org.springframework.web.context.WebApplicationContext parent)  
      protected void doService​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)  
      void registerSecurityFilter​(String pliginName, org.springframework.context.ApplicationContext context)  
      void removeWebContext​(String pliginName)  
      void unregisterSecurityFilter​(String pliginName)  
      • Methods inherited from class org.springframework.web.servlet.DispatcherServlet

        buildLocaleContext, checkMultipart, cleanupMultipart, createDefaultStrategy, doDispatch, getDefaultStrategies, getDefaultStrategy, getDefaultViewName, getHandler, getHandlerAdapter, getHandlerMappings, getMultipartResolver, getThemeSource, initStrategies, noHandlerFound, onRefresh, processHandlerException, render, resolveViewName, setCleanupAfterInclude, setDetectAllHandlerAdapters, setDetectAllHandlerExceptionResolvers, setDetectAllHandlerMappings, setDetectAllViewResolvers, setThrowExceptionIfNoHandlerFound
      • Methods inherited from class org.springframework.web.servlet.FrameworkServlet

        applyInitializers, buildRequestAttributes, configureAndRefreshWebApplicationContext, 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
      • Methods inherited from class org.springframework.web.servlet.HttpServletBean

        addRequiredProperty, createEnvironment, getEnvironment, getServletName, init, initBeanWrapper, setEnvironment
      • Methods inherited from class javax.servlet.http.HttpServlet

        doHead, getLastModified, service
      • Methods inherited from class javax.servlet.GenericServlet

        getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, init, log, log
    • Method Detail

      • createWebApplicationContext

        protected org.springframework.web.context.WebApplicationContext createWebApplicationContext​(org.springframework.web.context.WebApplicationContext parent)
                                                                                             throws org.springframework.beans.BeansException
        Overrides:
        createWebApplicationContext in class org.springframework.web.servlet.FrameworkServlet
        Throws:
        org.springframework.beans.BeansException
      • doService

        protected void doService​(javax.servlet.http.HttpServletRequest request,
                                 javax.servlet.http.HttpServletResponse response)
                          throws Exception
        Overrides:
        doService in class org.springframework.web.servlet.DispatcherServlet
        Throws:
        Exception
      • addWebContext

        public void addWebContext​(String pliginName,
                                  org.springframework.context.ApplicationContext context)
      • registerSecurityFilter

        public void registerSecurityFilter​(String pliginName,
                                           org.springframework.context.ApplicationContext context)
      • removeWebContext

        public void removeWebContext​(String pliginName)
      • unregisterSecurityFilter

        public void unregisterSecurityFilter​(String pliginName)