java.io.Serializable
, javax.servlet.Servlet
, javax.servlet.ServletConfig
public class WebSocketServlet
extends javax.servlet.http.HttpServlet
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
SESSION_HANDLER |
Constructor | Description |
---|---|
WebSocketServlet() |
|
WebSocketServlet(io.undertow.websockets.WebSocketConnectionCallback callback) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
|
protected java.util.List<io.undertow.websockets.core.protocol.Handshake> |
handshakes() |
|
void |
init(javax.servlet.ServletConfig config) |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public static final java.lang.String SESSION_HANDLER
public WebSocketServlet()
public WebSocketServlet(io.undertow.websockets.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, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
protected java.util.List<io.undertow.websockets.core.protocol.Handshake> handshakes()
Copyright © 2018. All rights reserved.