org.apache.activemq.transport.ws
Class StompServlet

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.StompServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

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

Handle connection upgrade requests and creates web sockets

See Also:
Serialized Form

Constructor Summary
StompServlet()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  org.eclipse.jetty.websocket.WebSocket doWebSocketConnect(javax.servlet.http.HttpServletRequest request, java.lang.String protocol)
           
 void init()
           
 
Methods inherited from class org.eclipse.jetty.websocket.WebSocketServlet
checkOrigin, service
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, 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
 

Constructor Detail

StompServlet

public StompServlet()
Method Detail

init

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

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

doWebSocketConnect

protected org.eclipse.jetty.websocket.WebSocket doWebSocketConnect(javax.servlet.http.HttpServletRequest request,
                                                                   java.lang.String protocol)
Specified by:
doWebSocketConnect in class org.eclipse.jetty.websocket.WebSocketServlet


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.