@ChannelHandler.Sharable
public class EncoderHandler
extends io.netty.channel.ChannelOutboundHandlerAdapter
| Constructor and Description |
|---|
EncoderHandler(Encoder encoder) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise) |
bind, close, connect, deregister, disconnect, flush, readexceptionCaught, handlerAdded, handlerRemoved, isSharablepublic EncoderHandler(Encoder encoder)
public void write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise)
throws Exception
write in interface io.netty.channel.ChannelOutboundHandlerwrite in class io.netty.channel.ChannelOutboundHandlerAdapterExceptionCopyright © 2012–2014. All rights reserved.