public class LineOrientedRequestEncoder
extends org.jboss.netty.handler.codec.oneone.OneToOneEncoder
LineOrientedRequestEncoder class.
Constructor and Description |
---|
LineOrientedRequestEncoder() |
Modifier and Type | Method and Description |
---|---|
Object |
encode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel channel,
Object msg)
This method encodes
LineOrientedRequest objects into String instances
that contain the byte representation of the request. |
public Object encode(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.Channel channel, Object msg) throws Exception
LineOrientedRequest
objects into String
instances
that contain the byte representation of the request.encode
in class org.jboss.netty.handler.codec.oneone.OneToOneEncoder
Exception
Copyright © 2016. All rights reserved.