| javax.servlet.http.HttpServlet org.mortbay.cometd.CometdServlet
CometdServlet | public class CometdServlet extends HttpServlet (Code) | | Cometd Filter
Servlet implementing the
Bayeux protocol.
The Servlet can be initialized with a json file mapping channels to
DataFilter definitions.
The servlet init parameter "filters" should point to a webapplication resource containing a JSON
array of filter definitions. For example:
[
{
"channels": "/**",
"class" : "org.mortbay.cometd.filter.NoMarkupFilter",
"init" : {}
}
]
The init parameter "timeout" specifies the poll timeout in milliseconds (default 45000).
The init parameter "multiTimeout" specifies the poll timeout if multiple polls are detected from the
same browser (default 0 - disable browser detection).
author: gregw See Also: Bayeux See Also: ChannelPattern |
ORG_MORTBAY_BAYEUX | final public static String ORG_MORTBAY_BAYEUX(Code) | | |
TUNNEL_INIT_PARAM | final public static String TUNNEL_INIT_PARAM(Code) | | |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|