Interface HandshakeResponse

  • All Known Implementing Classes:
    TyrusUpgradeResponse, UpgradeResponse

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.util.List<java.lang.String>> getHeaders()
      Return the map of HTTP headers to header values sent by the WebSocket server.
    • Field Detail

      • SEC_WEBSOCKET_ACCEPT

        static final java.lang.String SEC_WEBSOCKET_ACCEPT
        The Sec-WebSocket-Accept header name.
        See Also:
        Constant Field Values
    • Method Detail

      • getHeaders

        java.util.Map<java.lang.String,​java.util.List<java.lang.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.