Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.atmosphere.cpr.AtmosphereFramework framework  
      protected static org.slf4j.Logger logger  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void destroy()  
      protected boolean doRequest​(RequestResponseKey rrk)
      Weblogic specific comet based implementation.
      protected void doResponse​(RequestResponseKey rrk, java.lang.Object context)
      Weblogic specific comet based implementation.
      protected void doTimeout​(RequestResponseKey rrk)
      Weblogic specific comet based implementation.
      org.atmosphere.cpr.AtmosphereFramework framework()  
      void init​(javax.servlet.ServletConfig sc)  
      • 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 org.atmosphere.cpr.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 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:
        doRequest in class AbstractAsyncServlet
        Parameters:
        rrk -
        Returns:
        true if suspended
        Throws:
        java.io.IOException
        javax.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:
        doResponse in class AbstractAsyncServlet
        Parameters:
        rrk -
        Throws:
        java.io.IOException
        javax.servlet.ServletException
      • doTimeout

        protected void doTimeout​(RequestResponseKey rrk)
                          throws java.io.IOException,
                                 javax.servlet.ServletException
        Weblogic specific comet based implementation.
        Specified by:
        doTimeout in class AbstractAsyncServlet
        Parameters:
        rrk -
        Throws:
        java.io.IOException
        javax.servlet.ServletException