org.opensha.sha.gui.servlets
Class HazardDataSetPlotterCalcServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.opensha.sha.gui.servlets.HazardDataSetPlotterCalcServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class HazardDataSetPlotterCalcServlet
- extends javax.servlet.http.HttpServlet
Title: HazardDataSetPlotterCalcServlet
Description: This class does the calculation for the HazardDataSetPloter.
Once the user has selected the lat, lon and gridSpacing, it will do the calculation
using the HazardMap dataset and return back list containing the Y values for the
selected region.
- Version:
- 1.0
- Author:
- : Nitin Gupta and Vipin Gupta
- See Also:
- Serialized Form
|
Method Summary |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
This method just calls the doPost method |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, 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 |
PARENT_DIR
public static final String PARENT_DIR
- See Also:
- Constant Field Values
SITES_FILE_NAME
public static final String SITES_FILE_NAME
- See Also:
- Constant Field Values
HazardDataSetPlotterCalcServlet
public HazardDataSetPlotterCalcServlet()
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
- Overrides:
doGet in class javax.servlet.http.HttpServlet
- Parameters:
request - response -
- Throws:
IOException
javax.servlet.ServletException
doPost
public void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
- This method just calls the doPost method
- Overrides:
doPost in class javax.servlet.http.HttpServlet
- Parameters:
request - : Request Objectresponse - : Response Object
- Throws:
IOException - : Throws IOException during read-write from connection stream
javax.servlet.ServletException