public class MuleAjaxServlet
extends org.mortbay.cometd.continuation.ContinuationCometdServlet
ContinuationCometdServlet servlet and binds the Bayeux object to
the Mule AjaxServletConnector.| Modifier and Type | Class and Description |
|---|---|
protected class |
MuleAjaxServlet.MuleContinuationBayeux
We subclass the
ContinuationBayeux so tat we can insert a different
message implementation that allows us to have better control over the message going across the wire. |
class |
MuleAjaxServlet.MuleMessageImpl |
| Modifier and Type | Field and Description |
|---|---|
protected Connector |
connector |
| Constructor and Description |
|---|
MuleAjaxServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getConnectorProtocol() |
void |
init() |
protected org.mortbay.cometd.AbstractBayeux |
newBayeux() |
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
findBrowserId, getBayeux, getMessages, handleJSONParseException, service, setBrowserIdprotected Connector connector
public void init()
throws javax.servlet.ServletException
init in class org.mortbay.cometd.continuation.ContinuationCometdServletjavax.servlet.ServletExceptionprotected void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
service in class org.mortbay.cometd.continuation.ContinuationCometdServletjavax.servlet.ServletExceptionIOExceptionprotected String getConnectorProtocol()
protected org.mortbay.cometd.AbstractBayeux newBayeux()
newBayeux in class org.mortbay.cometd.continuation.ContinuationCometdServletCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.