@Deprecated public class WSHandshakeRequest extends HttpServletRequestWrapper
Defines an object to provide the WebSocket opening handshake request information to
a WebSocketListener. The container creates a
WSHandshakeRequest object and passes it as an argument to the
accept method of a WebSocket listener.
Except for providing HTTP request information, including the parameter name and
values, cookies, etc, WSHandshakeRequest provides additional
WebSocket Protocol specific data, such as the WebSocket version, WebSocket
subprotocols, etc.
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH| Modifier and Type | Method and Description |
|---|---|
String[] |
getExtensions()
Deprecated.
Returns extensions in the handshake request.
|
String |
getOrigin()
Deprecated.
Returns "Origin" header in the handshake request.
|
String |
getResourcePath()
Deprecated.
Returns the resource path of the WebSocket.
|
String[] |
getSubProtocols()
Deprecated.
Returns subprotocols in the handshake request.
|
int |
getVersion()
Deprecated.
Returns the WebSocket version.
|
authenticate, changeSessionId, getAuthType, getContextPath, getCookies, getDateHeader, getHeader, getHeaderNames, getHeaders, getIntHeader, getMethod, getPart, getParts, getPathInfo, getPathTranslated, getQueryString, getRemoteUser, getRequestedSessionId, getRequestURI, getRequestURL, getServletPath, getSession, getSession, getUserPrincipal, isRequestedSessionIdFromCookie, isRequestedSessionIdFromUrl, isRequestedSessionIdFromURL, isRequestedSessionIdValid, isUserInRole, login, logout, upgradegetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setAttribute, setCharacterEncoding, setRequest, startAsync, startAsyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, removeAttribute, setAttribute, setCharacterEncoding, startAsync, startAsyncpublic String getOrigin()
public String getResourcePath()
public String[] getSubProtocols()
public String[] getExtensions()
public int getVersion()