public class LineOrientedResponseDecoder
extends org.jboss.netty.handler.codec.oneone.OneToOneDecoder
LineOrientedResponseDecoder class.
Constructor and Description |
---|
LineOrientedResponseDecoder() |
Modifier and Type | Method and Description |
---|---|
Object |
decode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
Object msg)
This method decodes
String objects into LineOrientedResponse instances
that contain the byte representation of the response. |
public Object decode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, Object msg) throws Exception
String
objects into LineOrientedResponse
instances
that contain the byte representation of the response.decode
in class org.jboss.netty.handler.codec.oneone.OneToOneDecoder
Exception
Copyright © 2018. All rights reserved.