Interface HandshakeResponse

  • All Known Implementing Classes:
    TyrusUpgradeResponse, UpgradeResponse

    public interface HandshakeResponse
    The handshake response represents the web socket-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 list of Http headers sent by the web socket 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 list of Http headers sent by the web socket server.
        Returns:
        the http headers .