@ChannelHandler.Sharable public class GremlinResponseFrameEncoder extends io.netty.handler.codec.MessageToMessageEncoder<ResponseMessage>
ResponseMessage manages to get converted to a Frame. By converting to Frame
downstream protocols can treat the generic Frame any way it wants (e.g. write it back as a byte array,
websocket frame, etc).| Constructor and Description |
|---|
GremlinResponseFrameEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
ResponseMessage o,
List<Object> objects) |
acceptOutboundMessage, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableprotected void encode(io.netty.channel.ChannelHandlerContext ctx,
ResponseMessage o,
List<Object> objects)
throws Exception
encode in class io.netty.handler.codec.MessageToMessageEncoder<ResponseMessage>ExceptionCopyright © 2013–2022 Apache Software Foundation. All rights reserved.