List of usage examples for io.netty.handler.codec.http.websocketx ContinuationWebSocketFrame text
public String text()
From source file:org.robotbrains.support.web.server.netty.NettyWebServerWebSocketConnection.java
License:Apache License
/** * Handle continuation frame data.//from w w w. j av a 2s .c om * * @param frame * the continuation frame */ private void handleContinuationFrameData(ContinuationWebSocketFrame frame) { // All data coming in from the first text frame that was marked non final. continuationFrameData.append(frame.text()); if (frame.isFinalFragment()) { handleTextData(continuationFrameData.toString()); continuationFrameData.setLength(0); } }