org.granite.gravity.tomcat
Class TomcatWebSocketServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.catalina.websocket.WebSocketServlet
org.granite.gravity.tomcat.TomcatWebSocketServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class TomcatWebSocketServlet
- extends WebSocketServlet
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TomcatWebSocketServlet
public TomcatWebSocketServlet()
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 WebSocketServlet
createWebSocketInbound
protected StreamInbound createWebSocketInbound(String protocol,
HttpServletRequest request)
- Specified by:
createWebSocketInbound in class WebSocketServlet