Package org.exoplatform.chat.server
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 ClassesModifier and TypeClassDescriptionclassclassThis class help to workaround issue with eap 6.2 that has not support Websocket transport yet -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringstatic Stringstatic Stringstatic final Stringstatic final PatternFields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()voidinit(jakarta.servlet.ServletConfig config) protected org.cometd.server.BayeuxServerImplprotected org.cometd.annotation.server.ServerAnnotationProcessornewServerAnnotationProcessor(org.cometd.bayeux.server.BayeuxServer bayeuxServer) Methods inherited from class org.cometd.annotation.server.AnnotationCometDServlet
deprocessService, deregisterService, destroy, getServices, newService, processService, registerServiceMethods inherited from class org.cometd.server.CometDServlet
getBayeux, service, serviceOptionsMethods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, serviceMethods inherited from class jakarta.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
-
Field Details
-
PREFIX
- See Also:
-
CLOUD_ID_SEPARATOR
- See Also:
-
OORT_CONFIG_TYPE
-
OORT_STATIC
-
URL_REGEX
-
-
Constructor Details
-
CometdConfigurationServlet
public CometdConfigurationServlet()
-
-
Method Details
-
init
public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException - Specified by:
initin interfacejakarta.servlet.Servlet- Overrides:
initin classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletException
-
init
public void init() throws jakarta.servlet.ServletException- Overrides:
initin classorg.cometd.annotation.server.AnnotationCometDServlet- Throws:
jakarta.servlet.ServletException
-
newBayeuxServer
protected org.cometd.server.BayeuxServerImpl newBayeuxServer()- Overrides:
newBayeuxServerin classorg.cometd.server.CometDServlet
-
newServerAnnotationProcessor
protected org.cometd.annotation.server.ServerAnnotationProcessor newServerAnnotationProcessor(org.cometd.bayeux.server.BayeuxServer bayeuxServer) - Overrides:
newServerAnnotationProcessorin classorg.cometd.annotation.server.AnnotationCometDServlet
-