org.granite.gravity.tomcat
Class TomcatWebSocketServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.catalina.websocket.WebSocketServlet
              extended by org.granite.gravity.tomcat.TomcatWebSocketServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class TomcatWebSocketServlet
extends org.apache.catalina.websocket.WebSocketServlet

See Also:
Serialized Form

Constructor Summary
TomcatWebSocketServlet()
           
 
Method Summary
protected  org.apache.catalina.websocket.StreamInbound createWebSocketInbound(String protocol, HttpServletRequest request)
           
protected  void doGet(HttpServletRequest req, HttpServletResponse resp)
           
 void init(ServletConfig config)
           
protected  String selectSubProtocol(List<String> subProtocols)
           
 
Methods inherited from class org.apache.catalina.websocket.WebSocketServlet
verifyOrigin
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, 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

TomcatWebSocketServlet

public TomcatWebSocketServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Throws:
ServletException

selectSubProtocol

protected String selectSubProtocol(List<String> subProtocols)
Overrides:
selectSubProtocol in class org.apache.catalina.websocket.WebSocketServlet

createWebSocketInbound

protected org.apache.catalina.websocket.StreamInbound createWebSocketInbound(String protocol,
                                                                             HttpServletRequest request)
Specified by:
createWebSocketInbound in class org.apache.catalina.websocket.WebSocketServlet

doGet

protected void doGet(HttpServletRequest req,
                     HttpServletResponse resp)
              throws ServletException,
                     IOException
Overrides:
doGet in class org.apache.catalina.websocket.WebSocketServlet
Throws:
ServletException
IOException