| Modifier and Type | Field and Description |
|---|---|
| public static final HAProxyMessageEncoder | |
| pack-priv static final int | |
| pack-priv static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected Buffer | allocateBuffer(ChannelHandlerContext
the ctx, HAProxyMessage ChannelHandlerContext which this MessageToByteEncoder belongs tothe message to be encoded msg)Implements abstract io. Buffer which will be used as argument of encode(ChannelHandlerContext, I, Buffer).
|
| protected void | encode(ChannelHandlerContext
the ctx, HAProxyMessage ChannelHandlerContext which this MessageToByteEncoder belongs tothe message to encode msg, Buffer the out)Buffer into which the encoded message will be writtenImplements abstract io. Buffer.
|
| private static void | |
| private static void | |
| private static void | |
| private static void | |
| public boolean | isSharable()
Overrides default io. true if this handler is sharable and thus can be added
to more than one ChannelPipeline.
|
| INSTANCE | back to summary |
|---|---|
| public static final HAProxyMessageEncoder INSTANCE | |
| TOTAL_UNIX_ADDRESS_BYTES_LENGTH | back to summary |
|---|---|
| pack-priv static final int TOTAL_UNIX_ADDRESS_BYTES_LENGTH | |
| UNIX_ADDRESS_BYTES_LENGTH | back to summary |
|---|---|
| pack-priv static final int UNIX_ADDRESS_BYTES_LENGTH | |
| V2_VERSION_BITMASK | back to summary |
|---|---|
| private static final int V2_VERSION_BITMASK | |
| HAProxyMessageEncoder | back to summary |
|---|---|
| private HAProxyMessageEncoder() | |
| allocateBuffer | back to summary |
|---|---|
| protected Buffer allocateBuffer(ChannelHandlerContext ctx, HAProxyMessage msg) Implements abstract io. Doc from io. Allocate a
| |
| encode | back to summary |
|---|---|
| protected void encode(ChannelHandlerContext ctx, HAProxyMessage msg, Buffer out) Implements abstract io. Doc from io. Encode a message into a
| |
| encodeTlv | back to summary |
|---|---|
| private static void encodeTlv(HAProxyTLV haProxyTLV, Buffer out) | |
| encodeTlvs | back to summary |
|---|---|
| private static void encodeTlvs(List<HAProxyTLV> haProxyTLVs, Buffer out) | |
| encodeV1 | back to summary |
|---|---|
| private static void encodeV1(HAProxyMessage msg, Buffer out) | |
| encodeV2 | back to summary |
|---|---|
| private static void encodeV2(HAProxyMessage msg, Buffer out) | |
| isSharable | back to summary |
|---|---|
| public boolean isSharable() Overrides default io. Doc from io. Returns
| |