@ChannelHandler.Sharable public final class HAProxyMessageEncoder extends io.netty.handler.codec.MessageToByteEncoder<HAProxyMessage>
Modifier and Type | Field and Description |
---|---|
static HAProxyMessageEncoder |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
HAProxyMessage msg,
io.netty.buffer.ByteBuf out) |
acceptOutboundMessage, allocateBuffer, isPreferDirect, write
bind, close, connect, deregister, disconnect, flush, read
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
public static final HAProxyMessageEncoder INSTANCE
protected void encode(io.netty.channel.ChannelHandlerContext ctx, HAProxyMessage msg, io.netty.buffer.ByteBuf out) throws Exception
encode
in class io.netty.handler.codec.MessageToByteEncoder<HAProxyMessage>
Exception
Copyright © 2008–2020 The Netty Project. All rights reserved.