org.atmosphere.weblogic
Class AtmosphereWebLogicServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by weblogic.servlet.http.AbstractAsyncServlet
              extended by org.atmosphere.weblogic.AtmosphereWebLogicServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class AtmosphereWebLogicServlet
extends AbstractAsyncServlet

WebLogic Comet implementation.

See Also:
Serialized Form

Field Summary
protected  AtmosphereFramework framework
           
protected static org.slf4j.Logger logger
           
 
Constructor Summary
AtmosphereWebLogicServlet()
          Create an Atmosphere Servlet.
AtmosphereWebLogicServlet(boolean isFilter)
          Create an Atmosphere Servlet.
AtmosphereWebLogicServlet(boolean isFilter, boolean autoDetectHandlers)
          Create an Atmosphere Servlet.
 
Method Summary
 void destroy()
           
protected  boolean doRequest(RequestResponseKey rrk)
          Weblogic specific comet based implementation.
protected  void doResponse(RequestResponseKey rrk, Object context)
          Weblogic specific comet based implementation.
protected  void doTimeout(RequestResponseKey rrk)
          Weblogic specific comet based implementation.
 AtmosphereFramework framework()
           
 void init(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
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final org.slf4j.Logger logger

framework

protected AtmosphereFramework framework
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 an AtmosphereFilter

AtmosphereWebLogicServlet

public AtmosphereWebLogicServlet(boolean isFilter,
                                 boolean autoDetectHandlers)
Create an Atmosphere Servlet.

Parameters:
isFilter - true if this instance is used as an AtmosphereFilter
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet

init

public void init(javax.servlet.ServletConfig sc)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

framework

public AtmosphereFramework framework()

doRequest

protected boolean doRequest(RequestResponseKey rrk)
                     throws IOException,
                            javax.servlet.ServletException
Weblogic specific comet based implementation.

Specified by:
doRequest in class AbstractAsyncServlet
Parameters:
rrk -
Returns:
true if suspended
Throws:
IOException
javax.servlet.ServletException

doResponse

protected void doResponse(RequestResponseKey rrk,
                          Object context)
                   throws IOException,
                          javax.servlet.ServletException
Weblogic specific comet based implementation.

Specified by:
doResponse in class AbstractAsyncServlet
Parameters:
rrk -
Throws:
IOException
javax.servlet.ServletException

doTimeout

protected void doTimeout(RequestResponseKey rrk)
                  throws IOException,
                         javax.servlet.ServletException
Weblogic specific comet based implementation.

Specified by:
doTimeout in class AbstractAsyncServlet
Parameters:
rrk -
Throws:
IOException
javax.servlet.ServletException


Copyright © 2013. All Rights Reserved.