org.joseki.server.http
Class JosekiWebAPI

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.joseki.server.http.JosekiWebAPI
All Implemented Interfaces:
Connector, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class JosekiWebAPI
extends javax.servlet.http.HttpServlet
implements Connector

The servlet class.

Version:
$Id: JosekiWebAPI.java,v 1.25 2004/05/05 16:43:04 andy_seaborne Exp $
Author:
Andy Seaborne
See Also:
Serialized Form

Constructor Summary
JosekiWebAPI()
          Creates new JosekiWebAPI
 
Method Summary
 void destroy()
          Destroys the servlet.
 void doGet(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
           
 void doOptions(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
           
 void doPost(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse)
           
 Dispatcher getDispatcher()
           
 java.lang.String getServletInfo()
          Returns a short description of the servlet.
 void init()
           
 void init(javax.servlet.ServletConfig config)
          Initializes the servlet.
 void setDispatcher(Dispatcher d)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JosekiWebAPI

public JosekiWebAPI()
Creates new JosekiWebAPI

Method Detail

init

public void init()
          throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Initializes the servlet.

Specified by:
init in interface javax.servlet.Servlet
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Destroys the servlet.

Specified by:
destroy in interface javax.servlet.Servlet

doGet

public void doGet(javax.servlet.http.HttpServletRequest httpRequest,
                  javax.servlet.http.HttpServletResponse httpResponse)

doPost

public void doPost(javax.servlet.http.HttpServletRequest httpRequest,
                   javax.servlet.http.HttpServletResponse httpResponse)

doOptions

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

getServletInfo

public java.lang.String getServletInfo()
Returns a short description of the servlet.

Specified by:
getServletInfo in interface javax.servlet.Servlet

setDispatcher

public void setDispatcher(Dispatcher d)

getDispatcher

public Dispatcher getDispatcher()


Copyright © 2002 Hewlett-Packard. All Rights Reserved.