@Override
protected void onFullPongMessage(WebSocketChannel channel, BufferedBinaryMessage data) throws IOException {
if (pongMessage == null) {
return;
}
PongMessage message = DefaultPongMessage.create(WebSockets.mergeBuffers(data.getData()));
final Map<Class<?>, Object> params = new HashMap<Class<?>, Object>();
params.put(Session.class, session);
params.put(Map.class, session.getPathParameters());
params.put(PongMessage.class, message);
session.getContainer().invokeEndpointMethod(session.getWebSocketChannel(), new Runnable() {