Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package controllers;
 
 
public class WebSocketController extends MangooWebSocket {
    private static final Logger LOG = LoggerFactory.getLogger(WebSocketController.class);
    @Override
    protected void onFullTextMessage(WebSocketChannel channelBufferedTextMessage message) {
        .info(message.toString());
    }
    @Override
    protected void onFullBinaryMessage(WebSocketChannel channelBufferedBinaryMessage message) {
        .info(message.toString());
    }
    @Override
    protected void onFullPongMessage(WebSocketChannel channelBufferedBinaryMessage message) {
        .info(message.toString());
    }
    @Override
    protected void onCloseMessage(CloseMessage closeMessage,  WebSocketChannel channel) {
        .info(closeMessage.toString());
    }
New to GrepCode? Check out our FAQ X