Class CometdConfigurationServlet

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

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
     

    Fields inherited from class jakarta.servlet.http.HttpServlet

    LEGACY_DO_HEAD
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    init(jakarta.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 jakarta.servlet.http.HttpServlet

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

    Methods inherited from class jakarta.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(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException
      Specified by:
      init in interface jakarta.servlet.Servlet
      Overrides:
      init in class jakarta.servlet.http.HttpServlet
      Throws:
      jakarta.servlet.ServletException
    • init

      public void init() throws jakarta.servlet.ServletException
      Overrides:
      init in class org.cometd.annotation.server.AnnotationCometDServlet
      Throws:
      jakarta.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