Interface HandshakeRequest


  • public interface HandshakeRequest
    Represents the HTTP request that asked to be upgraded to WebSocket.
    • Method Detail

      • getHeaders

        java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()
      • getUserPrincipal

        java.security.Principal getUserPrincipal()
      • getRequestURI

        java.net.URI getRequestURI()
      • isUserInRole

        boolean isUserInRole​(java.lang.String role)
      • getHttpSession

        java.lang.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

        java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getParameterMap()
      • getQueryString

        java.lang.String getQueryString()