Class CometdConfigurationServlet

java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.cometd.server.CometDServlet
org.cometd.annotation.server.AnnotationCometDServlet
org.exoplatform.chat.server.CometdConfigurationServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class CometdConfigurationServlet extends org.cometd.annotation.server.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:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
     
    class 
    This class help to workaround issue with eap 6.2 that has not support Websocket transport yet
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
    static String
     
    static String
     
    static final String
     
    static final Pattern
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    init(javax.servlet.ServletConfig config)
     
    protected org.cometd.server.BayeuxServerImpl
     
    protected org.cometd.annotation.server.ServerAnnotationProcessor
    newServerAnnotationProcessor(org.cometd.bayeux.server.BayeuxServer bayeuxServer)
     

    Methods inherited from class org.cometd.annotation.server.AnnotationCometDServlet

    deprocessService, deregisterService, destroy, getServices, newService, processService, registerService

    Methods inherited from class org.cometd.server.CometDServlet

    getBayeux, service, serviceOptions

    Methods inherited from class javax.servlet.http.HttpServlet

    doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service

    Methods inherited from class javax.servlet.GenericServlet

    getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • CometdConfigurationServlet

      public CometdConfigurationServlet()
  • Method Details

    • 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.server.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.server.ServerAnnotationProcessor newServerAnnotationProcessor(org.cometd.bayeux.server.BayeuxServer bayeuxServer)
      Overrides:
      newServerAnnotationProcessor in class org.cometd.annotation.server.AnnotationCometDServlet