Interface HandshakeRequest


public interface HandshakeRequest
Represents the HTTP request that asked to be upgraded to WebSocket.
  • Field Details

  • Method Details

    • getHeaders

      Map<String,List<String>> getHeaders()
    • getUserPrincipal

      Principal getUserPrincipal()
    • getRequestURI

      URI getRequestURI()
    • isUserInRole

      boolean isUserInRole(String role)
    • 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

      Map<String,List<String>> getParameterMap()
    • getQueryString

      String getQueryString()