Package jakarta.websocket
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
-
Method Summary
Modifier and TypeMethodDescriptionReturn the map of HTTP headers to header values sent by the WebSocket server.
-
Field Details
-
SEC_WEBSOCKET_ACCEPT
The Sec-WebSocket-Accept header name.- See Also:
-
-
Method Details
-
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.
-