Package org.mortbay.cometd.continuation
Class EXoContinuationCometdServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.cometd.server.CometDServlet
-
- org.mortbay.cometd.continuation.EXoContinuationCometdServlet
-
- All Implemented Interfaces:
Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class EXoContinuationCometdServlet extends org.cometd.server.CometDServletCreated by The eXo Platform SAS.- Version:
- $Id: $
- Author:
- Vitaly Parfonov
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classEXoContinuationCometdServlet.OortMulticastConfigclassEXoContinuationCometdServlet.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 StringEXO_OORT_CONFIG_CLOUDstatic StringEXO_OORT_CONFIG_TYPEstatic StringEXO_OORT_CONFIG_URLstatic StringOORT_CONFIG_CLOUDstatic StringOORT_CONFIG_TYPEstatic StringOORT_CONFIG_URLstatic StringOORT_MULTICASTstatic StringOORT_STATICstatic StringPREFIXstatic PatternURL_REGEX
-
Constructor Summary
Constructors Constructor Description EXoContinuationCometdServlet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()EXoContinuationBayeuxgetBayeux()StringgetInitParameter(String name)static EXoContinuationCometdServletgetInstance()javax.servlet.ServletConfiggetServletConfig()voidinit()voidinit(javax.servlet.ServletConfig config)protected EXoContinuationBayeuxnewBayeuxServer()voidreInit()protected voidservice(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)voidsetContainer(org.exoplatform.container.ExoContainer container)-
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_CONFIG_CLOUD
public static String OORT_CONFIG_CLOUD
-
OORT_CONFIG_URL
public static String OORT_CONFIG_URL
-
EXO_OORT_CONFIG_TYPE
public static String EXO_OORT_CONFIG_TYPE
-
EXO_OORT_CONFIG_CLOUD
public static String EXO_OORT_CONFIG_CLOUD
-
EXO_OORT_CONFIG_URL
public static String EXO_OORT_CONFIG_URL
-
OORT_MULTICAST
public static String OORT_MULTICAST
-
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
-
reInit
public void reInit()
-
init
public void init()
- Overrides:
initin classorg.cometd.server.CometDServlet
-
service
protected void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, IOException- Overrides:
servicein classorg.cometd.server.CometDServlet- Throws:
javax.servlet.ServletExceptionIOException
-
getInitParameter
public String getInitParameter(String name)
- Specified by:
getInitParameterin interfacejavax.servlet.ServletConfig- Overrides:
getInitParameterin classjavax.servlet.GenericServlet
-
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
- Specified by:
getServletConfigin interfacejavax.servlet.Servlet- Overrides:
getServletConfigin classjavax.servlet.GenericServlet
-
setContainer
public void setContainer(org.exoplatform.container.ExoContainer container)
-
newBayeuxServer
protected EXoContinuationBayeux newBayeuxServer()
- Overrides:
newBayeuxServerin classorg.cometd.server.CometDServlet
-
getBayeux
public EXoContinuationBayeux getBayeux()
- Overrides:
getBayeuxin classorg.cometd.server.CometDServlet
-
getInstance
public static EXoContinuationCometdServlet getInstance()
-
destroy
public void destroy()
- Specified by:
destroyin interfacejavax.servlet.Servlet- Overrides:
destroyin classorg.cometd.server.CometDServlet
-
-