com.ecyrd.jspwiki.rpc.atom
Class AtomAPIServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.ecyrd.jspwiki.rpc.atom.AtomAPIServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class AtomAPIServlet
extends HttpServlet

Handles incoming requests for the Atom API. This class uses the "sandler" Atom API implementation.

Since:
2.1.97
See Also:
Serialized Form

Constructor Summary
AtomAPIServlet()
           
 
Method Summary
 void doDelete(HttpServletRequest request, HttpServletResponse response)
          
 void doGet(HttpServletRequest request, HttpServletResponse response)
          Handles HTTP GET.
 void doPost(HttpServletRequest request, HttpServletResponse response)
          Implements the PostURI of the Atom spec.
 void doPut(HttpServletRequest request, HttpServletResponse response)
          
 void init(ServletConfig config)
          
 
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
 

Constructor Detail

AtomAPIServlet

public AtomAPIServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Throws:
ServletException

doPost

public void doPost(HttpServletRequest request,
                   HttpServletResponse response)
            throws ServletException
Implements the PostURI of the Atom spec.

Implementation notes:

Overrides:
doPost in class HttpServlet
Parameters:
request -
response -
Throws:
ServletException

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException
Handles HTTP GET. However, we do not respond to GET requests, other than to show an explanatory text.

Overrides:
doGet in class HttpServlet
Throws:
ServletException

doDelete

public void doDelete(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException

Overrides:
doDelete in class HttpServlet
Throws:
ServletException

doPut

public void doPut(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException

Overrides:
doPut in class HttpServlet
Throws:
ServletException