ZetaGrid v1.9

zeta.handler.statistic
Class StatisticOverviewHandler

java.lang.Object
  |
  +--zeta.handler.statistic.AbstractHandler
        |
        +--zeta.handler.statistic.StatisticOverviewHandler
All Implemented Interfaces:
GetHandler

public class StatisticOverviewHandler
extends AbstractHandler

Handles a GET request for the statistic 'overview'.


Nested Class Summary
 
Nested classes inherited from class zeta.handler.statistic.AbstractHandler
AbstractHandler.InnerPageBuffer
 
Field Summary
 
Fields inherited from class zeta.handler.statistic.AbstractHandler
imgHeight, imgWidth, servlet
 
Constructor Summary
StatisticOverviewHandler(ZetaServlet servlet)
           
 
Method Summary
 java.awt.image.BufferedImage createImage(java.sql.Connection con, java.lang.String imageName)
          No image is available on this statistic.
 java.lang.String createPage(java.sql.Connection con)
          Creates HTML page with the content of the statistic 'overview'.
protected  java.lang.String createPage(javax.servlet.http.HttpServletRequest req, java.sql.Connection con)
          Creates HTML page with the content of the statistic 'overview'.
 
Methods inherited from class zeta.handler.statistic.AbstractHandler
doGet, getBufferedPage, getImageHeight, getImageWidth, getInnerPageBuffer, getInnerPageExpiredDiffTime, getPageExpiredDiffTime, imageUpdateCompleted, isImageExpired, isInnerPageExpired, isPageExpired, pageUpdateCompleted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticOverviewHandler

public StatisticOverviewHandler(ZetaServlet servlet)
Parameters:
servlet - servlet which owns this handler.
Method Detail

createPage

public java.lang.String createPage(java.sql.Connection con)
                            throws java.sql.SQLException,
                                   javax.servlet.ServletException
Creates HTML page with the content of the statistic 'overview'.

Specified by:
createPage in class AbstractHandler
Parameters:
con - connection to the back-end database
Returns:
HTML page with the content of the statistic 'overview'.
java.sql.SQLException
javax.servlet.ServletException

createPage

protected java.lang.String createPage(javax.servlet.http.HttpServletRequest req,
                                      java.sql.Connection con)
                               throws java.sql.SQLException,
                                      javax.servlet.ServletException
Creates HTML page with the content of the statistic 'overview'.

Overrides:
createPage in class AbstractHandler
Parameters:
req - GET request
con - connection to the back-end database
Returns:
HTML page with the content of the statistic 'overview'.
java.sql.SQLException
javax.servlet.ServletException

createImage

public java.awt.image.BufferedImage createImage(java.sql.Connection con,
                                                java.lang.String imageName)
                                         throws java.sql.SQLException,
                                                javax.servlet.ServletException
No image is available on this statistic.

Overrides:
createImage in class AbstractHandler
Parameters:
con - connection to the back-end database
imageName - name of the image
Returns:
null
java.sql.SQLException
javax.servlet.ServletException

ZetaGrid v1.9

For further technical papers, see ZetaGrid Technical Documentation.
 
Copyright © 2001,2002 Sebastian Wedeniwski. All Rights Reserved.