Package org.exoplatform.chat.server
Class CometdConfigurationServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.cometd.server.CometDServlet
-
- org.cometd.annotation.AnnotationCometDServlet
-
- org.exoplatform.chat.server.CometdConfigurationServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class CometdConfigurationServlet extends org.cometd.annotation.AnnotationCometDServletCometd 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classCometdConfigurationServlet.OortMulticastConfigclassCometdConfigurationServlet.OortStaticConfigThis 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 StringCLOUD_ID_SEPARATORstatic StringOORT_CONFIG_TYPEstatic StringOORT_STATICstatic StringPREFIXstatic PatternURL_REGEX
-
Constructor Summary
Constructors Constructor Description CometdConfigurationServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()voidinit(javax.servlet.ServletConfig config)protected org.cometd.server.BayeuxServerImplnewBayeuxServer()protected org.cometd.annotation.ServerAnnotationProcessornewServerAnnotationProcessor(org.cometd.bayeux.server.BayeuxServer bayeuxServer)-
Methods inherited from class org.cometd.annotation.AnnotationCometDServlet
deprocessService, deregisterService, destroy, getServices, newService, processService, registerService
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
-
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
CLOUD_ID_SEPARATOR
protected static final String CLOUD_ID_SEPARATOR
- See Also:
- Constant Field Values
-
OORT_CONFIG_TYPE
public static String OORT_CONFIG_TYPE
-
OORT_STATIC
public static String OORT_STATIC
-
URL_REGEX
public static final Pattern URL_REGEX
-
-
Method Detail
-
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.AnnotationCometDServlet- Throws:
javax.servlet.ServletException
-
newBayeuxServer
protected org.cometd.server.BayeuxServerImpl newBayeuxServer()
- Overrides:
newBayeuxServerin classorg.cometd.server.CometDServlet
-
newServerAnnotationProcessor
protected org.cometd.annotation.ServerAnnotationProcessor newServerAnnotationProcessor(org.cometd.bayeux.server.BayeuxServer bayeuxServer)
- Overrides:
newServerAnnotationProcessorin classorg.cometd.annotation.AnnotationCometDServlet
-
-