Class ZoomChartController

java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.mvc.AbstractController
org.springframework.web.servlet.mvc.ParameterizableViewController
psiprobe.controllers.connectors.ZoomChartController
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller

@Controller public class ZoomChartController extends org.springframework.web.servlet.mvc.ParameterizableViewController
The Class ZoomChartController.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private long
    The collection period.

    Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator

    HEADER_CACHE_CONTROL, METHOD_GET, METHOD_HEAD, METHOD_POST

    Fields inherited from class org.springframework.context.support.ApplicationObjectSupport

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Gets the collection period.
    org.springframework.web.servlet.ModelAndView
    handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     
    protected org.springframework.web.servlet.ModelAndView
    handleRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
     
    void
    setCollectionPeriod(long collectionPeriod)
    Sets the collection period.
    void
    setCollectionPeriod(String collectionPeriod)
    Sets the collection period using expression.
    void
    setViewName(String viewName)
     

    Methods inherited from class org.springframework.web.servlet.mvc.ParameterizableViewController

    getStatusCode, getView, getViewName, isStatusOnly, setStatusCode, setStatusOnly, setView, toString

    Methods inherited from class org.springframework.web.servlet.mvc.AbstractController

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • collectionPeriod

      private long collectionPeriod
      The collection period.
  • Constructor Details

    • ZoomChartController

      public ZoomChartController()
  • Method Details

    • 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
    • setCollectionPeriod

      @Value("${psiprobe.beans.stats.collectors.connector.period}") public void setCollectionPeriod(String collectionPeriod)
      Sets the collection period using expression.
      Parameters:
      collectionPeriod - the new collection period expression
    • handleRequest

      @RequestMapping(path="/zoomchart.htm") public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
      Specified by:
      handleRequest in interface org.springframework.web.servlet.mvc.Controller
      Overrides:
      handleRequest in class org.springframework.web.servlet.mvc.AbstractController
      Throws:
      Exception
    • handleRequestInternal

      protected org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
      Overrides:
      handleRequestInternal in class org.springframework.web.servlet.mvc.ParameterizableViewController
      Throws:
      Exception
    • setViewName

      @Value("zoomreq") public void setViewName(String viewName)
      Overrides:
      setViewName in class org.springframework.web.servlet.mvc.ParameterizableViewController