org.mule.transport.ajax.container
Class MuleAjaxServlet
java.lang.Object
javax.servlet.GenericServlet
org.mortbay.cometd.AbstractCometdServlet
org.mortbay.cometd.continuation.ContinuationCometdServlet
org.mule.transport.ajax.container.MuleAjaxServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class MuleAjaxServlet
- extends org.mortbay.cometd.continuation.ContinuationCometdServlet
Wraps the ContinuationCometdServlet servlet and binds the Bayeux object to
the Mule AjaxServletConnector.
- See Also:
- Serialized Form
| Fields inherited from class org.mortbay.cometd.continuation.ContinuationCometdServlet |
__DEFAULT_REFS_THRESHOLD, _refsThreshold |
| Fields inherited from class org.mortbay.cometd.AbstractCometdServlet |
_bayeux, _jsonDebug, BROWSER_ID, CLIENT_ATTR, HTTP_CLIENT_ID, MESSAGE_PARAM, TRANSPORT_ATTR, TUNNEL_INIT_PARAM |
|
Method Summary |
protected String |
getConnectorProtocol()
|
void |
init()
|
protected org.mortbay.cometd.AbstractBayeux |
newBayeux()
|
protected void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
| Methods inherited from class org.mortbay.cometd.continuation.ContinuationCometdServlet |
destroy |
| Methods inherited from class org.mortbay.cometd.AbstractCometdServlet |
findBrowserId, getBayeux, getMessages, handleJSONParseException, service, setBrowserId |
| 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 |
connector
protected Connector connector
MuleAjaxServlet
public MuleAjaxServlet()
init
public void init()
throws javax.servlet.ServletException
- Overrides:
init in class org.mortbay.cometd.continuation.ContinuationCometdServlet
- Throws:
javax.servlet.ServletException
service
protected void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Overrides:
service in class org.mortbay.cometd.continuation.ContinuationCometdServlet
- Throws:
javax.servlet.ServletException
IOException
getConnectorProtocol
protected String getConnectorProtocol()
newBayeux
protected org.mortbay.cometd.AbstractBayeux newBayeux()
- Overrides:
newBayeux in class org.mortbay.cometd.continuation.ContinuationCometdServlet
Copyright © 2003-2013 MuleSoft, Inc.. All Rights Reserved.