Top Description Fields Methods
jakarta.websocket

public Interface HandshakeResponse

Imports
java.util.List, .Map

The handshake response represents the WebSocket-defined HTTP response that is the response to the opening handshake request.
Author
dannycoward

Field Summary

Modifier and TypeField and Description
public static final String
SEC_WEBSOCKET_ACCEPT

The Sec-WebSocket-Accept header name.

Method Summary

Modifier and TypeMethod and Description
public Map<String, List<String>>

Returns:

the HTTP headers.
getHeaders
()

Return the map of HTTP headers to header values sent by the WebSocket server.

Field Detail

SEC_WEBSOCKET_ACCEPTback to summary
public static final String SEC_WEBSOCKET_ACCEPT

The Sec-WebSocket-Accept header name.

Method Detail

getHeadersback to summary
public 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:Map<String, List<String>>

the HTTP headers.