Class BaseGetApplicationController

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long collectionPeriod
      The collection period.
      private boolean extendedInfo
      denotes whether extended application information and statistics should be collected.
      private StatsCollection statsCollection
      The stats collection.
      • 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 Concrete Methods 
      Modifier and Type Method Description
      long getCollectionPeriod()
      Gets the collection period.
      StatsCollection getStatsCollection()
      Gets the stats collection.
      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 isExtendedInfo()
      Checks if is extended info.
      void setCollectionPeriod​(long collectionPeriod)
      Sets the collection period.
      void setExtendedInfo​(boolean extendedInfo)
      Sets the extended info.
      void setStatsCollection​(StatsCollection statsCollection)
      Sets the stats collection.
      • 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

      • extendedInfo

        private boolean extendedInfo
        denotes whether extended application information and statistics should be collected.
      • statsCollection

        @Inject
        private StatsCollection statsCollection
        The stats collection.
      • collectionPeriod

        private long collectionPeriod
        The collection period.
    • Constructor Detail

      • BaseGetApplicationController

        public BaseGetApplicationController()
    • Method Detail

      • isExtendedInfo

        public boolean isExtendedInfo()
        Checks if is extended info.
        Returns:
        true, if is extended info
      • setExtendedInfo

        public void setExtendedInfo​(boolean extendedInfo)
        Sets the extended info.
        Parameters:
        extendedInfo - the new extended info
      • getStatsCollection

        public StatsCollection getStatsCollection()
        Gets the stats collection.
        Returns:
        the stats collection
      • setStatsCollection

        public void setStatsCollection​(StatsCollection statsCollection)
        Sets the stats collection.
        Parameters:
        statsCollection - the new stats collection
      • getCollectionPeriod

        public long getCollectionPeriod()
        Gets the collection period.
        Returns:
        the collection period
      • setCollectionPeriod

        public void setCollectionPeriod​(long collectionPeriod)
        Sets the collection period.
        Parameters:
        collectionPeriod - the new collection period
      • 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