org.codehaus.activesoap.transport.http
Class EndpointServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.codehaus.activesoap.transport.http.EndpointServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class EndpointServlet
extends HttpServlet

A Servlet for a REST or SOAP endpoint where some XML is HTTP POSTed and the response is returned.

Version:
$Revision: 1.1 $
See Also:
Serialized Form

Field Summary
static String SERVICE_ATTRIBUTE
           
 
Constructor Summary
EndpointServlet()
           
 
Method Summary
protected  void doPost(HttpServletRequest request, HttpServletResponse response)
           
 RestService getRestService()
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_ATTRIBUTE

public static final String SERVICE_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

EndpointServlet

public EndpointServlet()
Method Detail

doPost

protected void doPost(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException,
                      IOException
Throws:
ServletException
IOException

getRestService

public RestService getRestService()
                           throws ServletException
Throws:
ServletException


Copyright © 2004-2007 LogicBlaze, Inc.. All Rights Reserved.