List of usage examples for org.springframework.web.socket.messaging AbstractSubProtocolEvent getMessage
public Message<byte[]> getMessage()
From source file:de.metas.ui.web.websocket.WebSocketConfig.java
private static final String extractSimpHeaderAsString(final AbstractSubProtocolEvent event, final String name) { final Object simpDestinationObj = event.getMessage().getHeaders().get(name); return simpDestinationObj == null ? null : simpDestinationObj.toString(); }