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 Date |
getFromDate(String dateFromRequest)
Get the FromDate object from the given string that is the time in milliseconds.
|
protected Date |
getToDate(String dateFromRequest)
Get the toDate object from the given string that is the time in milliseconds.
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final long serialVersionUID
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionHttpServlet.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 Date getFromDate(String dateFromRequest)
dateFromRequest - String that was passed into this servletprotected Date getToDate(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,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionCopyright © 2018 OpenMRS LLC.. All Rights Reserved.