Serializablepublic class WebSocketServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field | Description |
|---|---|---|
static 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 List<io.undertow.websockets.core.protocol.Handshake> |
handshakes() |
|
void |
init(javax.servlet.ServletConfig config) |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logpublic static final 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 class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected List<io.undertow.websockets.core.protocol.Handshake> handshakes()
Copyright © 2018. All rights reserved.