Class CometdConfigurationServlet

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class CometdConfigurationServlet
    extends org.cometd.annotation.AnnotationCometDServlet
    Cometd configuration servlet. It allows to instantiate Cometd custom services, or even configure the Bayeux object by adding extensions or specifying a SecurityPolicy
    See Also:
    Serialized Form
    • Constructor Detail

      • CometdConfigurationServlet

        public CometdConfigurationServlet()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig config)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException
      • init

        public void init()
                  throws javax.servlet.ServletException
        Overrides:
        init in class org.cometd.annotation.AnnotationCometDServlet
        Throws:
        javax.servlet.ServletException
      • newBayeuxServer

        protected org.cometd.server.BayeuxServerImpl newBayeuxServer()
        Overrides:
        newBayeuxServer in class org.cometd.server.CometDServlet
      • newServerAnnotationProcessor

        protected org.cometd.annotation.ServerAnnotationProcessor newServerAnnotationProcessor​(org.cometd.bayeux.server.BayeuxServer bayeuxServer)
        Overrides:
        newServerAnnotationProcessor in class org.cometd.annotation.AnnotationCometDServlet