@ChannelHandler.Sharable public class AMF3ToJavaObjectDecoder extends org.jboss.netty.handler.codec.oneone.OneToOneDecoder implements Transform<org.jboss.netty.buffer.ChannelBuffer,Object>
ChannelBuffer
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(org.jboss.netty.buffer.ChannelBuffer buffer)
Convert Object of type T to type V.
|
protected Object |
decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
Object msg) |
protected Object |
deSerializeObjectFromStream(ByteArrayInputStream bis) |
protected Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, Object msg) throws Exception
decode
in class org.jboss.netty.handler.codec.oneone.OneToOneDecoder
Exception
public Object convert(org.jboss.netty.buffer.ChannelBuffer buffer) throws Exception
Transform
protected Object deSerializeObjectFromStream(ByteArrayInputStream bis) throws Exception
Exception
Copyright © 2013. All Rights Reserved.