weblogic.servlet.http
Class AbstractAsyncServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.eclipse.jetty.websocket.WebSocketServlet
              extended by weblogic.servlet.http.AbstractAsyncServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, WebSocketFactory.Acceptor

public abstract class AbstractAsyncServlet
extends WebSocketServlet

Fake support for Weblogic. Weblogic jars aren't public and not available with any repository, so fake them.

Author:
Jeanfrancois Arcand
See Also:
Serialized Form

Constructor Summary
AbstractAsyncServlet()
           
 
Method Summary
protected abstract  boolean doRequest(RequestResponseKey rrk)
           
protected abstract  void doResponse(RequestResponseKey rrk, Object o)
           
protected abstract  void doTimeout(RequestResponseKey rrk)
           
static void notify(RequestResponseKey rrk, Object context)
           
 
Methods inherited from class org.eclipse.jetty.websocket.WebSocketServlet
checkOrigin, init, service
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, 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
 
Methods inherited from interface org.eclipse.jetty.websocket.WebSocketFactory.Acceptor
doWebSocketConnect
 

Constructor Detail

AbstractAsyncServlet

public AbstractAsyncServlet()
Method Detail

doRequest

protected abstract boolean doRequest(RequestResponseKey rrk)
                              throws IOException,
                                     javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

doResponse

protected abstract void doResponse(RequestResponseKey rrk,
                                   Object o)
                            throws IOException,
                                   javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

doTimeout

protected abstract void doTimeout(RequestResponseKey rrk)
                           throws IOException,
                                  javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

notify

public static final void notify(RequestResponseKey rrk,
                                Object context)
                         throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.