org.exist.http.servlets
Class EXistServlet

java.lang.Object
  extended byHttpServlet
      extended byorg.exist.http.servlets.EXistServlet

public class EXistServlet
extends HttpServlet

Implements the REST-style interface if eXist is running within a servlet engine. The real work is done by class RESTServer.

Author:
wolf
See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_ENCODING
           
 
Constructor Summary
EXistServlet()
           
 
Method Summary
 void destroy()
           
protected  void doDelete(HttpServletRequest request, HttpServletResponse response)
           
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
           
protected  void doHead(HttpServletRequest request, HttpServletResponse response)
           
protected  void doPost(HttpServletRequest req, HttpServletResponse response)
           
protected  void doPut(HttpServletRequest request, HttpServletResponse response)
           
 void init(ServletConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ENCODING

public static final java.lang.String DEFAULT_ENCODING
See Also:
Constant Field Values
Constructor Detail

EXistServlet

public EXistServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Throws:
ServletException

doPut

protected void doPut(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     java.io.IOException
Throws:
ServletException
java.io.IOException

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     java.io.IOException
Throws:
ServletException
java.io.IOException

doHead

protected void doHead(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException,
                      java.io.IOException
Throws:
ServletException
java.io.IOException

doDelete

protected void doDelete(HttpServletRequest request,
                        HttpServletResponse response)
                 throws ServletException,
                        java.io.IOException
Throws:
ServletException
java.io.IOException

doPost

protected void doPost(HttpServletRequest req,
                      HttpServletResponse response)
               throws ServletException,
                      java.io.IOException
Throws:
ServletException
java.io.IOException

destroy

public void destroy()


<oXygen/> XML Editor provides support for editing and debugging XQuery expressions against the eXist XML Database.