org.opensha.sha.gui.servlets
Class HazardMapViewerServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.opensha.sha.gui.servlets.HazardMapViewerServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class HazardMapViewerServlet
extends javax.servlet.http.HttpServlet

Title: HazardMapViewerServlet

Description: This servlet is hosted on web server gravity.usc.edu. This servlet allows application to give all the datasets ids that contains Hazard curves dataset. When user has selected the dataset using which he wants to compute Hazard Map, it is sent back to this servlet which then uses GMT script to create the map image.

Version:
1.0
Author:
:Nitin Gupta and Vipin Gupta
See Also:
Serialized Form

Field Summary
static String GET_DATA
           
static String MAKE_MAP
           
static String METADATA_FILE_NAME
           
static String PARENT_DIR
           
static String SITES_FILE_NAME
           
 
Constructor Summary
HazardMapViewerServlet()
           
 
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)
           
 
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
 

Field Detail

PARENT_DIR

public static final String PARENT_DIR
See Also:
Constant Field Values

METADATA_FILE_NAME

public static final String METADATA_FILE_NAME
See Also:
Constant Field Values

SITES_FILE_NAME

public static final String SITES_FILE_NAME
See Also:
Constant Field Values

GET_DATA

public static final String GET_DATA
See Also:
Constant Field Values

MAKE_MAP

public static final String MAKE_MAP
See Also:
Constant Field Values
Constructor Detail

HazardMapViewerServlet

public HazardMapViewerServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException,
                   IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException