com.liferay.portal.fabric.netty.codec.serialization
Class AnnotatedObjectDecoder
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.handler.codec.ByteToMessageDecoder
io.netty.handler.codec.LengthFieldBasedFrameDecoder
com.liferay.portal.fabric.netty.codec.serialization.AnnotatedObjectDecoder
- All Implemented Interfaces:
- io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
public class AnnotatedObjectDecoder
- extends io.netty.handler.codec.LengthFieldBasedFrameDecoder
| Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler |
io.netty.channel.ChannelHandler.Sharable |
| Methods inherited from class io.netty.handler.codec.LengthFieldBasedFrameDecoder |
decode, getUnadjustedFrameLength |
| Methods inherited from class io.netty.handler.codec.ByteToMessageDecoder |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setSingleDecode |
| Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter |
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered |
| Methods inherited from class io.netty.channel.ChannelHandlerAdapter |
handlerAdded, isSharable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface io.netty.channel.ChannelHandler |
handlerAdded |
NAME
public static final String NAME
AnnotatedObjectDecoder
public AnnotatedObjectDecoder()
addFirst
public void addFirst(ObjectDecodeChannelInboundHandler<?>... objectDecodeChannelInboundHandlers)
addFirst
public void addFirst(String name,
ObjectDecodeChannelInboundHandler<?> objectDecodeChannelInboundHandler)
addLast
public void addLast(ObjectDecodeChannelInboundHandler<?>... objectDecodeChannelInboundHandlers)
addLast
public void addLast(String name,
ObjectDecodeChannelInboundHandler<?> objectDecodeChannelInboundHandler)
remove
public <T extends ObjectDecodeChannelInboundHandler<?>> T remove(Class<T> handlerType)
remove
public void remove(ObjectDecodeChannelInboundHandler<?> objectDecodeChannelInboundHandler)
remove
public ObjectDecodeChannelInboundHandler<?> remove(String name)
removeFirst
public ObjectDecodeChannelInboundHandler<?> removeFirst()
removeLast
public ObjectDecodeChannelInboundHandler<?> removeLast()
decode
protected Object decode(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.buffer.ByteBuf byteBuf)
throws Exception
- Overrides:
decode in class io.netty.handler.codec.LengthFieldBasedFrameDecoder
- Throws:
Exception
extractFrame
protected io.netty.buffer.ByteBuf extractFrame(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.buffer.ByteBuf byteBuf,
int index,
int length)
- Overrides:
extractFrame in class io.netty.handler.codec.LengthFieldBasedFrameDecoder