org.apache.activemq.transport.ws
Class WSServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.eclipse.jetty.websocket.WebSocketServlet
              extended by org.apache.activemq.transport.ws.WSServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig, org.eclipse.jetty.websocket.WebSocketFactory.Acceptor

public class WSServlet
extends org.eclipse.jetty.websocket.WebSocketServlet

Handle connection upgrade requests and creates web sockets

See Also:
Serialized Form

Constructor Summary
WSServlet()
           
 
Method Summary
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
           
 org.eclipse.jetty.websocket.WebSocket doWebSocketConnect(HttpServletRequest request, String protocol)
           
 void init()
           
 
Methods inherited from class org.eclipse.jetty.websocket.WebSocketServlet
checkOrigin, destroy, service
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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
 

Constructor Detail

WSServlet

public WSServlet()
Method Detail

init

public void init()
          throws ServletException
Overrides:
init in class org.eclipse.jetty.websocket.WebSocketServlet
Throws:
ServletException

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     IOException
Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException

doWebSocketConnect

public org.eclipse.jetty.websocket.WebSocket doWebSocketConnect(HttpServletRequest request,
                                                                String protocol)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.