@Override
protected void onText(WebSocketChannel webSocketChannel, StreamSourceFrameChannel messageChannel) throws IOException {
final HandlerWrapper handler = getHandler(FrameType.TEXT);
final boolean finalFragment = messageChannel.isFinalFragment();
if (handler != null && handler.isPartialHandler()) {
BufferedTextMessage data = new BufferedTextMessage();
data.read(messageChannel, new WebSocketCallback<BufferedTextMessage>() {
@Override
public void complete(WebSocketChannel channel, BufferedTextMessage context) {
invokeTextHandler(context, handler, finalFragment);
}