Class WsHandshakeRequest
java.lang.Object
org.apache.tomcat.websocket.server.WsHandshakeRequest
- All Implemented Interfaces:
- HandshakeRequest
Represents the request that this session was opened under.
- 
Field SummaryFields inherited from interface jakarta.websocket.server.HandshakeRequestSEC_WEBSOCKET_EXTENSIONS, SEC_WEBSOCKET_KEY, SEC_WEBSOCKET_PROTOCOL, SEC_WEBSOCKET_VERSION
- 
Constructor SummaryConstructorsConstructorDescriptionWsHandshakeRequest(HttpServletRequest request, Map<String, String> pathParams) 
- 
Method SummaryModifier and TypeMethodDescriptionGet the HTTP Session object associated with this request.booleanisUserInRole(String role) 
- 
Constructor Details- 
WsHandshakeRequest
 
- 
- 
Method Details- 
getRequestURI- Specified by:
- getRequestURIin interface- HandshakeRequest
 
- 
getParameterMap- Specified by:
- getParameterMapin interface- HandshakeRequest
 
- 
getQueryString- Specified by:
- getQueryStringin interface- HandshakeRequest
 
- 
getUserPrincipal- Specified by:
- getUserPrincipalin interface- HandshakeRequest
 
- 
getHeaders- Specified by:
- getHeadersin interface- HandshakeRequest
 
- 
isUserInRole- Specified by:
- isUserInRolein interface- HandshakeRequest
 
- 
getHttpSessionDescription copied from interface:jakarta.websocket.server.HandshakeRequestGet the HTTP Session object associated with this request. Object is used to avoid a direct dependency on the Servlet API.- Specified by:
- getHttpSessionin interface- HandshakeRequest
- Returns:
- The jakarta.servlet.http.HttpSession object associated with this request, if any.
 
 
-