jschemeweb
Class SchemeServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byjschemeweb.SchemeServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class SchemeServlet
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Field Summary
 Procedure do_delete
           
 Procedure do_destroy
           
 Procedure do_get
           
 Procedure do_options
           
 Procedure do_post
           
 Procedure do_put
           
 Procedure do_service
           
 Procedure do_trace
           
static JScheme js
           
 
Constructor Summary
SchemeServlet()
           
 
Method Summary
 void destroy()
           
 void doDelete(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doOptions(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doPut(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doTrace(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void init()
          This reads a scheme initialization procedure from the resource specified by the init-param with name "code" in the web.xml The procedure is then evaluated and applied to this servlet.
 void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doHead, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
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

js

public static JScheme js

do_service

public Procedure do_service

do_delete

public Procedure do_delete

do_get

public Procedure do_get

do_options

public Procedure do_options

do_post

public Procedure do_post

do_put

public Procedure do_put

do_trace

public Procedure do_trace

do_destroy

public Procedure do_destroy
Constructor Detail

SchemeServlet

public SchemeServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
This reads a scheme initialization procedure from the resource specified by the init-param with name "code" in the web.xml The procedure is then evaluated and applied to this servlet. The procedure can optionally set the do_??? variables of this servlet to scheme procedures which will override the defaults.

Throws:
javax.servlet.ServletException

doDelete

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

doGet

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

doOptions

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

doPut

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

doTrace

public void doTrace(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws java.io.IOException,
                    javax.servlet.ServletException
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
Throws:
java.io.IOException
javax.servlet.ServletException

service

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

destroy

public void destroy()