public class WebSocketServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Field and Description |
---|---|
static String | SESSION_HANDLER |
Constructor and Description |
---|
WebSocketServlet() |
WebSocketServlet(WebSocketConnectionCallback callback) |
Modifier and Type | Method and Description |
---|---|
protected void | doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) |
protected List<Handshake> | handshakes() |
void | init(javax.servlet.ServletConfig config) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
public static final String SESSION_HANDLER
public WebSocketServlet()
public WebSocketServlet(WebSocketConnectionCallback callback)
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
Copyright © 2020 JBoss by Red Hat. All rights reserved.