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
-
getUserPrincipal
Principal getUserPrincipal() -
getRequestURI
URI getRequestURI() -
isUserInRole
-
getHttpSession
Object 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
-
getQueryString
String getQueryString()
-