HiRISE

HiRISE.HiReport.servlets
Class ChartServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by HiRISE.HiReport.servlets.ChartServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ChartServlet
extends javax.servlet.http.HttpServlet

Servlet for dynamically created charts using the HiReport chart tags.

See Also:
Serialized Form

Field Summary
static String CHART_PREFIX
          Prefix for chart filename
static String CHART_SUFFIX
          Prefix for chart filename
static String ID
          CVS ID
protected static Logger logger
          our logger
protected  Pattern pattern
          filename pattern for chart images
protected  String tempDir
          location of temporary directory
 
Constructor Summary
ChartServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Respond to a request, serving the appropriate chart, then deleting it
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
CVS ID

See Also:
Constant Field Values

CHART_PREFIX

public static final String CHART_PREFIX
Prefix for chart filename

See Also:
Constant Field Values

CHART_SUFFIX

public static final String CHART_SUFFIX
Prefix for chart filename

See Also:
Constant Field Values

pattern

protected Pattern pattern
filename pattern for chart images


tempDir

protected String tempDir
location of temporary directory


logger

protected static Logger logger
our logger

Constructor Detail

ChartServlet

public ChartServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse res)
           throws javax.servlet.ServletException
Respond to a request, serving the appropriate chart, then deleting it

Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
req - incoming request
res - outgoing response
Throws:
javax.servlet.ServletException

HiRISE

Copyright (C) Arizona Board of Regents on behalf of the Planetary Image Research Laboratory, Lunar and Planetary Laboratory at the University of Arizona