Package org.exoplatform.chat.server
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 ClassesModifier and TypeClassDescriptionclassclassThis class help to workaround issue with eap 6.2 that has not support Websocket transport yet -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()voidinit(javax.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 javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, serviceMethods inherited from class javax.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(javax.servlet.ServletConfig config) throws javax.servlet.ServletException - Specified by:
initin interfacejavax.servlet.Servlet- Overrides:
initin classjavax.servlet.GenericServlet- Throws:
javax.servlet.ServletException
-
init
public void init() throws javax.servlet.ServletException- Overrides:
initin classorg.cometd.annotation.server.AnnotationCometDServlet- Throws:
javax.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
-