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 org.apache.catalina.websocket.WebSocketServlet
- See Also:
- Serialized Form
| Methods inherited from class org.apache.catalina.websocket.WebSocketServlet |
verifyOrigin |
| 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 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