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(HttpServletRequest request,
HttpServletResponse response) |
findBrowserId, getBayeux, getMessages, handleJSONParseException, service, setBrowserId
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
protected Connector connector
public void init() throws ServletException
init
in class org.mortbay.cometd.continuation.ContinuationCometdServlet
ServletException
protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
service
in class org.mortbay.cometd.continuation.ContinuationCometdServlet
ServletException
IOException
protected String getConnectorProtocol()
protected org.mortbay.cometd.AbstractBayeux newBayeux()
newBayeux
in class org.mortbay.cometd.continuation.ContinuationCometdServlet
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.