java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfigpublic 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, logpublic 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.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected 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.HttpServletjavax.servlet.ServletExceptionjava.io.IOExceptionprotected java.util.List<io.undertow.websockets.core.protocol.Handshake> handshakes()
Copyright © 2018. All rights reserved.