- Return the list of Http Headers that came with the handshake request.
- @return the headers.
Map<String, List<String>> getHeaders();
Note "handshake request" instead of "handshake response" in the above javadoc
Also, the returned Map is modifiable and any changes to the map would be reflected in the handshake response headers. This is not clear from javadoc.
Will the returned Map would be empty or filled with headers the runtime is planning to send ?