org.cometd.server
Class CometdServlet
java.lang.Object
javax.servlet.GenericServlet
org.cometd.server.CometdServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class CometdServlet
- extends javax.servlet.GenericServlet
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.GenericServlet |
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 |
CONFIG_LEVEL
public static final int CONFIG_LEVEL
- See Also:
- Constant Field Values
INFO_LEVEL
public static final int INFO_LEVEL
- See Also:
- Constant Field Values
DEBUG_LEVEL
public static final int DEBUG_LEVEL
- See Also:
- Constant Field Values
CLIENT_ATTR
public static final java.lang.String CLIENT_ATTR
- See Also:
- Constant Field Values
TRANSPORT_ATTR
public static final java.lang.String TRANSPORT_ATTR
- See Also:
- Constant Field Values
MESSAGE_PARAM
public static final java.lang.String MESSAGE_PARAM
- See Also:
- Constant Field Values
TUNNEL_INIT_PARAM
public static final java.lang.String TUNNEL_INIT_PARAM
- See Also:
- Constant Field Values
HTTP_CLIENT_ID
public static final java.lang.String HTTP_CLIENT_ID
- See Also:
- Constant Field Values
CometdServlet
public CometdServlet()
getBayeux
public BayeuxServerImpl getBayeux()
initializeBayeux
protected void initializeBayeux(BayeuxServerImpl bayeux)
init
public void init()
throws javax.servlet.ServletException
- Overrides:
init
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
service
public void service(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse resp)
throws javax.servlet.ServletException,
java.io.IOException
- Specified by:
service
in interface javax.servlet.Servlet
- Specified by:
service
in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
service
protected void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
getMessages
protected ServerMessage.Mutable[] getMessages(javax.servlet.http.HttpServletRequest request)
throws java.io.IOException
- Throws:
java.io.IOException
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Servlet
- Overrides:
destroy
in class javax.servlet.GenericServlet
- See Also:
GenericServlet.destroy()
Copyright © 2010 Dojo Foundation. All Rights Reserved.