org.apache.avro.ipc
Class ResponderServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.avro.ipc.ResponderServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class ResponderServlet
extends HttpServlet

An HttpServlet that responds to Avro RPC requests.

See Also:
Serialized Form

Constructor Summary
ResponderServlet(Responder responder)
           
 
Method Summary
protected  void doPost(HttpServletRequest request, HttpServletResponse response)
           
 
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
 

Constructor Detail

ResponderServlet

public ResponderServlet(Responder responder)
                 throws IOException
Throws:
IOException
Method Detail

doPost

protected void doPost(HttpServletRequest request,
                      HttpServletResponse response)
               throws IOException,
                      ServletException
Overrides:
doPost in class HttpServlet
Throws:
IOException
ServletException


Copyright © 2010 The Apache Software Foundation