List of usage examples for javax.websocket HandshakeResponse getHeaders
Map<String, List<String>> getHeaders();
From source file:org.sample.client.MyConfigurator.java
@Override public void afterResponse(HandshakeResponse response) { System.out.println("afterResponse:"); for (String h : response.getHeaders().keySet()) { for (String k : response.getHeaders().get(h)) { System.out.println("Header: " + h + ", " + k); }/* www . j a v a 2 s . c om*/ } }