Class AbstractNoSelfContextHandlerController

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static org.slf4j.Logger logger
      The Constant logger.
      private boolean passQueryString
      The pass query string.
      • Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator

        HEADER_CACHE_CONTROL, METHOD_GET, METHOD_HEAD, METHOD_POST
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract void executeAction​(String contextName)
      Execute action.
      protected org.springframework.web.servlet.ModelAndView handleContext​(String contextName, org.apache.catalina.Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
      Handle context.
      boolean isPassQueryString()
      Checks if is pass query string.
      void setPassQueryString​(boolean passQueryString)
      Sets the pass query string.
      • Methods inherited from class org.springframework.web.servlet.mvc.AbstractController

        handleRequest, isSynchronizeOnSession, setSynchronizeOnSession
      • Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator

        applyCacheControl, applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, checkRequest, getAllowHeader, getCacheControl, getCacheSeconds, getSupportedMethods, getVaryByRequestHeaders, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, prepareResponse, preventCaching, setAlwaysMustRevalidate, setCacheControl, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader, setVaryByRequestHeaders
      • 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, initApplicationContext, obtainApplicationContext, requiredContextClass, setApplicationContext
    • Field Detail

      • logger

        private static final org.slf4j.Logger logger
        The Constant logger.
      • passQueryString

        private boolean passQueryString
        The pass query string.
    • Constructor Detail

      • AbstractNoSelfContextHandlerController

        public AbstractNoSelfContextHandlerController()
    • Method Detail

      • isPassQueryString

        public boolean isPassQueryString()
        Checks if is pass query string.
        Returns:
        true, if is pass query string
      • setPassQueryString

        public void setPassQueryString​(boolean passQueryString)
        Sets the pass query string.
        Parameters:
        passQueryString - the new pass query string
      • handleContext

        protected org.springframework.web.servlet.ModelAndView handleContext​(String contextName,
                                                                             org.apache.catalina.Context context,
                                                                             javax.servlet.http.HttpServletRequest request,
                                                                             javax.servlet.http.HttpServletResponse response)
                                                                      throws Exception
        Description copied from class: AbstractContextHandlerController
        Handle context.
        Specified by:
        handleContext in class AbstractContextHandlerController
        Parameters:
        contextName - the context name
        context - the context
        request - the request
        response - the response
        Returns:
        the model and view
        Throws:
        Exception - the exception
      • executeAction

        protected abstract void executeAction​(String contextName)
                                       throws Exception
        Execute action.
        Parameters:
        contextName - the context name
        Throws:
        Exception - the exception