public class AMF3ToJavaObjectDecoder extends io.netty.handler.codec.ByteToMessageDecoder implements Transform<io.netty.buffer.ByteBuf,Object>
ByteBuf containing AMF3 object as input and
creates a java object from it using the AMFDeSerializer class.| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
AMF3ToJavaObjectDecoder() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convert(io.netty.buffer.ByteBuf buffer)
Convert Object of type T to type V.
|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out) |
protected Object |
deSerializeObjectFromStream(ByteArrayInputStream bis) |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setSingleDecodechannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredprotected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out)
throws Exception
decode in class io.netty.handler.codec.ByteToMessageDecoderExceptionpublic Object convert(io.netty.buffer.ByteBuf buffer) throws Exception
Transformprotected Object deSerializeObjectFromStream(ByteArrayInputStream bis) throws Exception
ExceptionCopyright © 2013. All Rights Reserved.