org.opensha.sha.gui.servlets
Class WillsSiteClassForGriddedRegionServlet

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

public class WillsSiteClassForGriddedRegionServlet
extends javax.servlet.http.HttpServlet

Title: WillsSiteClassForGriddedRegionServlet

Description: This Servlet finds the Wills site Class for the given gridded region.

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

Constructor Summary
WillsSiteClassForGriddedRegionServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          method to get the wills site type as desired by the user
 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
 

Constructor Detail

WillsSiteClassForGriddedRegionServlet

public WillsSiteClassForGriddedRegionServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws IOException,
                  javax.servlet.ServletException
method to get the wills site type as desired by the user

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 Object
response - : Response Object
Throws:
IOException - : Throws IOException during read-write from connection stream
javax.servlet.ServletException