Package org.atmosphere.weblogic
Class AtmosphereWebLogicServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- weblogic.servlet.http.AbstractAsyncServlet
-
- org.atmosphere.weblogic.AtmosphereWebLogicServlet
-
- All Implemented Interfaces:
java.io.Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
public class AtmosphereWebLogicServlet extends AbstractAsyncServlet
WebLogic Comet implementation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AtmosphereWebLogicServlet()Create an Atmosphere Servlet.AtmosphereWebLogicServlet(boolean isFilter)Create an Atmosphere Servlet.AtmosphereWebLogicServlet(boolean isFilter, boolean autoDetectHandlers)Create an Atmosphere Servlet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()protected booleandoRequest(RequestResponseKey rrk)Weblogic specific comet based implementation.protected voiddoResponse(RequestResponseKey rrk, java.lang.Object context)Weblogic specific comet based implementation.protected voiddoTimeout(RequestResponseKey rrk)Weblogic specific comet based implementation.org.atmosphere.cpr.AtmosphereFrameworkframework()voidinit(javax.servlet.ServletConfig sc)-
Methods inherited from class weblogic.servlet.http.AbstractAsyncServlet
notify
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Constructor Detail
-
AtmosphereWebLogicServlet
public AtmosphereWebLogicServlet()
Create an Atmosphere Servlet.
-
AtmosphereWebLogicServlet
public AtmosphereWebLogicServlet(boolean isFilter)
Create an Atmosphere Servlet.- Parameters:
isFilter- true if this instance is used as anAtmosphereFilter
-
AtmosphereWebLogicServlet
public AtmosphereWebLogicServlet(boolean isFilter, boolean autoDetectHandlers)Create an Atmosphere Servlet.- Parameters:
isFilter- true if this instance is used as anAtmosphereFilter
-
-
Method Detail
-
destroy
public void destroy()
- Specified by:
destroyin interfacejavax.servlet.Servlet- Overrides:
destroyin classjavax.servlet.GenericServlet
-
init
public void init(javax.servlet.ServletConfig sc) throws javax.servlet.ServletException- Specified by:
initin interfacejavax.servlet.Servlet- Overrides:
initin classjavax.servlet.GenericServlet- Throws:
javax.servlet.ServletException
-
framework
public org.atmosphere.cpr.AtmosphereFramework framework()
-
doRequest
protected boolean doRequest(RequestResponseKey rrk) throws java.io.IOException, javax.servlet.ServletException
Weblogic specific comet based implementation.- Specified by:
doRequestin classAbstractAsyncServlet- Parameters:
rrk-- Returns:
- true if suspended
- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
doResponse
protected void doResponse(RequestResponseKey rrk, java.lang.Object context) throws java.io.IOException, javax.servlet.ServletException
Weblogic specific comet based implementation.- Specified by:
doResponsein classAbstractAsyncServlet- Parameters:
rrk-- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
doTimeout
protected void doTimeout(RequestResponseKey rrk) throws java.io.IOException, javax.servlet.ServletException
Weblogic specific comet based implementation.- Specified by:
doTimeoutin classAbstractAsyncServlet- Parameters:
rrk-- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
-