com.sun.grizzly.cometd.servlet
Class CometdServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.sun.grizzly.cometd.servlet.CometdServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class CometdServlet
- extends HttpServlet
Simple CometdChat that route Cometd Request to the EventRouter.
- Author:
- Jeanfrancois Arcand, TAKAI, Naoto
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CometdServlet
public CometdServlet()
init
public void init(ServletConfig config)
throws ServletException
- Initialize the Servlet by creating the CometContext.
- Specified by:
init
in interface Servlet
- Overrides:
init
in class GenericServlet
- Throws:
ServletException
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Overrides:
doGet
in class HttpServlet
- Throws:
ServletException
IOException
doPost
public void doPost(HttpServletRequest hreq,
HttpServletResponse hres)
throws ServletException,
IOException
- Overrides:
doPost
in class HttpServlet
- Throws:
ServletException
IOException
Copyright © 2009 SUN Microsystems. All Rights Reserved.