Package psiprobe.controllers.connectors
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 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
-
Method Summary
Modifier and TypeMethodDescriptionlong
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
-
Field Details
-
collectionPeriod
private long collectionPeriodThe 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 interfaceorg.springframework.web.servlet.mvc.Controller
- Overrides:
handleRequest
in classorg.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 classorg.springframework.web.servlet.mvc.ParameterizableViewController
- Throws:
Exception
-
setViewName
- Overrides:
setViewName
in classorg.springframework.web.servlet.mvc.ParameterizableViewController
-