public abstract class AbstractGraphServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JPG_MIME_TYPE |
static java.lang.String |
PNG_MIME_TYPE |
static long |
serialVersionUID |
Constructor and Description |
---|
AbstractGraphServlet() |
Modifier and Type | Method and Description |
---|---|
protected abstract org.jfree.chart.JFreeChart |
createChart(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Override this method for each graph
|
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static final long serialVersionUID
public static final java.lang.String PNG_MIME_TYPE
public static final java.lang.String JPG_MIME_TYPE
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
protected abstract org.jfree.chart.JFreeChart createChart(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request
- response
- protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.