Interface HandshakeResponse


public interface HandshakeResponse
The handshake response represents the WebSocket-defined HTTP response that is the response to the opening handshake request.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The Sec-WebSocket-Accept header name.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the map of HTTP headers to header values sent by the WebSocket server.
  • Field Details

    • SEC_WEBSOCKET_ACCEPT

      static final String SEC_WEBSOCKET_ACCEPT
      The Sec-WebSocket-Accept header name.
      See Also:
  • Method Details

    • getHeaders

      Map<String,List<String>> getHeaders()
      Return the map of HTTP headers to header values sent by the WebSocket server. Note that the lookup of header names will be performed in a case insensitive manner.
      Returns:
      the HTTP headers.