Package javax.websocket
Interface HandshakeResponse
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.StringSEC_WEBSOCKET_ACCEPTThe Sec-WebSocket-Accept header name. -
Method Summary
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 Details
-
SEC_WEBSOCKET_ACCEPT
static final java.lang.String SEC_WEBSOCKET_ACCEPTThe Sec-WebSocket-Accept header name.- See Also:
- Constant Field Values
-
-
Method Details
-
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 .
-