de.oio.sqlrest
Class MainServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--de.oio.sqlrest.MainServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class MainServlet
extends javax.servlet.http.HttpServlet

Author:
tbayer
See Also:
Serialized Form

Field Summary
 DatabaseInfo databaseInfo
           
 
Constructor Summary
MainServlet()
           
 
Method Summary
protected  void doDelete(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 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)
           
protected  void doPut(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void init()
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doHead, doOptions, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

databaseInfo

public DatabaseInfo databaseInfo
Constructor Detail

MainServlet

public MainServlet()
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
javax.servlet.ServletException
java.io.IOException
See Also:
HttpServlet.doGet(HttpServletRequest, HttpServletResponse)

doDelete

protected void doDelete(javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws javax.servlet.ServletException,
                        java.io.IOException
Overrides:
doDelete in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
See Also:
HttpServlet.doDelete(HttpServletRequest, HttpServletResponse)

doPost

protected 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
javax.servlet.ServletException
java.io.IOException
See Also:
HttpServlet.doPost(HttpServletRequest, HttpServletResponse)

init

public void init()
          throws javax.servlet.ServletException
Overrides:
init in class javax.servlet.GenericServlet
javax.servlet.ServletException
See Also:
GenericServlet.init()

doPut

protected void doPut(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException
Overrides:
doPut in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
See Also:
HttpServlet.doPut(HttpServletRequest, HttpServletResponse)


Copyright Orientation in Objects GmbH. All Rights Reserved.