Liferay 7.0-ce-b4

com.liferay.portal.fabric.netty.codec.serialization
Class ObjectDecodeChannelInboundHandler<T>

java.lang.Object
  extended by io.netty.channel.ChannelHandlerAdapter
      extended by io.netty.channel.ChannelInboundHandlerAdapter
          extended by io.netty.channel.SimpleChannelInboundHandler<T>
              extended by com.liferay.portal.fabric.netty.codec.serialization.ObjectDecodeChannelInboundHandler<T>
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
Direct Known Subclasses:
FileResponseChannelHandler

public abstract class ObjectDecodeChannelInboundHandler<T>
extends io.netty.channel.SimpleChannelInboundHandler<T>


Nested Class Summary
 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
ObjectDecodeChannelInboundHandler()
           
 
Method Summary
 void channelRead(io.netty.channel.ChannelHandlerContext channelHandlerContext, Object object)
           
 Object channelRead(io.netty.channel.ChannelHandlerContext channelHandlerContext, Object object, io.netty.buffer.ByteBuf byteBuf)
           
protected  void channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext, T t)
           
abstract  T channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext, T t, io.netty.buffer.ByteBuf byteBuf)
           
 void handlerAdded(io.netty.channel.ChannelHandlerContext channelHandlerContext)
           
 
Methods inherited from class io.netty.channel.SimpleChannelInboundHandler
acceptInboundMessage
 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
handlerRemoved, 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
handlerRemoved
 

Constructor Detail

ObjectDecodeChannelInboundHandler

public ObjectDecodeChannelInboundHandler()
Method Detail

channelRead

public final void channelRead(io.netty.channel.ChannelHandlerContext channelHandlerContext,
                              Object object)
Specified by:
channelRead in interface io.netty.channel.ChannelInboundHandler
Overrides:
channelRead in class io.netty.channel.SimpleChannelInboundHandler<T>

channelRead

public Object channelRead(io.netty.channel.ChannelHandlerContext channelHandlerContext,
                          Object object,
                          io.netty.buffer.ByteBuf byteBuf)
                   throws Exception
Throws:
Exception

channelRead0

public abstract T channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext,
                               T t,
                               io.netty.buffer.ByteBuf byteBuf)
                        throws Exception
Throws:
Exception

handlerAdded

public void handlerAdded(io.netty.channel.ChannelHandlerContext channelHandlerContext)
                  throws Exception
Specified by:
handlerAdded in interface io.netty.channel.ChannelHandler
Overrides:
handlerAdded in class io.netty.channel.ChannelHandlerAdapter
Throws:
Exception

channelRead0

protected final void channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext,
                                  T t)
Specified by:
channelRead0 in class io.netty.channel.SimpleChannelInboundHandler<T>

Liferay 7.0-ce-b4