public class HAProxyMessageEncoder extends MessageToByteEncoder<ProxyProtocolMessage>
ChannelHandler.Sharable| Constructor and Description |
|---|
HAProxyMessageEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(ChannelHandlerContext ctx,
ProxyProtocolMessage msg,
ByteBuf out) |
private byte[] |
getHaProxyMessage(ProxyProtocolMessage msg) |
acceptOutboundMessage, allocateBuffer, isPreferDirect, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexceptionCaught, handlerAdded, handlerRemovedprotected void encode(ChannelHandlerContext ctx, ProxyProtocolMessage msg, ByteBuf out)
encode in class MessageToByteEncoder<ProxyProtocolMessage>private byte[] getHaProxyMessage(ProxyProtocolMessage msg)
Copyright © 2009–2021. All rights reserved.