org.hsql
Class Servlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--org.hsql.Servlet

public class Servlet
extends javax.servlet.http.HttpServlet

Servlet acts as a interface between the applet and the database for the the client / server mode of Hypersonic SQL. It is not required if the included Hypersonic SQL WebServer is used, but if another HTTP server is used. The HTTP Server must support the Servlet API.

This class should not be used directly by the application. It will be called by the HTTP Server. The applet / application should must use the jdbc* classes.

See Also:
Serialized Form

Constructor Summary
Servlet(java.lang.String database)
           
 
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
service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, init, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Servlet

public Servlet(java.lang.String database)
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws java.io.IOException,
                  javax.servlet.ServletException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws java.io.IOException,
                   javax.servlet.ServletException