public class ShowGraphServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
ShowGraphServlet() |
Modifier and Type | Method and Description |
---|---|
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)
There are no post actions.
|
protected org.jfree.chart.JFreeChart |
getChart(javax.servlet.http.HttpServletRequest request)
The main method for this class.
|
protected java.util.Date |
getFromDate(java.lang.String dateFromRequest)
Get the FromDate object from the given string that is the time in milliseconds.
|
protected java.util.Date |
getToDate(java.lang.String dateFromRequest)
Get the toDate object from the given string that is the time in milliseconds.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static final long serialVersionUID
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
HttpServlet.doGet(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
protected org.jfree.chart.JFreeChart getChart(javax.servlet.http.HttpServletRequest request)
request
- the current request will all the parameters neededprotected java.util.Date getFromDate(java.lang.String dateFromRequest)
dateFromRequest
- String that was passed into this servletprotected java.util.Date getToDate(java.lang.String dateFromRequest)
dateFromRequest
- String that was passed into this servletprotected 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.