org.opensha.sha.gui.servlets
Class GriddedRegionServlet

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

public class GriddedRegionServlet
extends javax.servlet.http.HttpServlet

Title: GriddedRegionServlet

Description: This servlet creates GriddedRegion object on the server and save it in a file. It returns back the absolute path to the region file.

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

Field Summary
protected static java.lang.String FILE_PATH
           
static java.lang.String SERVLET_URL
           
 
Constructor Summary
GriddedRegionServlet()
           
 
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

SERVLET_URL

public static final java.lang.String SERVLET_URL

FILE_PATH

protected static final java.lang.String FILE_PATH
See Also:
Constant Field Values
Constructor Detail

GriddedRegionServlet

public GriddedRegionServlet()
Method Detail

doGet

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

doPost

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