Package jakarta.websocket.server
Interface HandshakeRequest
public interface HandshakeRequest
Represents the HTTP request that asked to be upgraded to WebSocket.
- 
Field Details- 
SEC_WEBSOCKET_KEY- See Also:
 
- 
SEC_WEBSOCKET_PROTOCOL- See Also:
 
- 
SEC_WEBSOCKET_VERSION- See Also:
 
- 
SEC_WEBSOCKET_EXTENSIONS- See Also:
 
 
- 
- 
Method Details- 
getHeaders
- 
getUserPrincipalPrincipal getUserPrincipal()
- 
getRequestURIURI getRequestURI()
- 
isUserInRole
- 
getHttpSessionObject getHttpSession()Get the HTTP Session object associated with this request. Object is used to avoid a direct dependency on the Servlet API.- Returns:
- The jakarta.servlet.http.HttpSession object associated with this request, if any.
 
- 
getParameterMap
- 
getQueryStringString getQueryString()
 
-