@ChannelHandler.Sharable
public class WsGremlinTextRequestDecoder
extends io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.websocketx.TextWebSocketFrame>
TextWebSocketFrame. Text-based frames are always assumed to be
"application/json" when it comes to serialization.| Constructor and Description |
|---|
WsGremlinTextRequestDecoder(Map<String,MessageSerializer<?>> serializers) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.handler.codec.http.websocketx.TextWebSocketFrame frame,
List<Object> objects) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic WsGremlinTextRequestDecoder(Map<String,MessageSerializer<?>> serializers)
protected void decode(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.handler.codec.http.websocketx.TextWebSocketFrame frame,
List<Object> objects)
throws Exception
decode in class io.netty.handler.codec.MessageToMessageDecoder<io.netty.handler.codec.http.websocketx.TextWebSocketFrame>ExceptionCopyright © 2013–2022 Apache Software Foundation. All rights reserved.