com.sun.grizzly.cometd.servlet
Class CometdServlet
java.lang.Object
HttpServlet
com.sun.grizzly.cometd.servlet.CometdServlet
public class CometdServlet
- extends HttpServlet
Simple CometdChat that route Cometd Request to the EventRouter.
- Author:
- Jeanfrancois Arcand, TAKAI, Naoto
|
Method Summary |
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
|
void |
doPost(HttpServletRequest hreq,
HttpServletResponse hres)
|
void |
init(ServletConfig config)
Initialize the Servlet by creating the CometContext. |
| 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.
- Throws:
ServletException
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
IOException
- Throws:
ServletException
IOException
doPost
public void doPost(HttpServletRequest hreq,
HttpServletResponse hres)
throws ServletException,
IOException
- Throws:
ServletException
IOException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.