Class LineOrientedResponseDecoder

  • All Implemented Interfaces:
    org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler

    public class LineOrientedResponseDecoder
    extends org.jboss.netty.handler.codec.oneone.OneToOneDecoder

    LineOrientedResponseDecoder class.

    Author:
    Seth
    • Constructor Detail

      • LineOrientedResponseDecoder

        public LineOrientedResponseDecoder()
    • Method Detail

      • decode

        public Object decode​(org.jboss.netty.channel.ChannelHandlerContext ctx,
                             org.jboss.netty.channel.Channel channel,
                             Object msg)
                      throws Exception
        This method decodes String objects into LineOrientedResponse instances that contain the byte representation of the response.
        Specified by:
        decode in class org.jboss.netty.handler.codec.oneone.OneToOneDecoder
        Throws:
        Exception