Registry / networking / netty-codec-haproxy

netty-codec-haproxy

JSON →
library4.1.134.Finaljavamavenunverified

Netty codec for handling the HAProxy protocol, enabling proxy protocol support in Netty-based servers.

<dependency> <groupId>io.netty</groupId> <artifactId>netty-codec-haproxy</artifactId> <version>4.1.134.Final</version> </dependency>
INSTALL
IMPORT
SIG · NETTY-CODEC-HAPROX
N
netty-codec-haproxy
networkingjavav4.1.134.Final
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HAProxyMessage
io.netty.handler.codec.haproxy.HAProxyMessage

Decode an HAProxy protocol message using Netty's codec.

import io.netty.handler.codec.haproxy.HAProxyMessage; import io.netty.handler.codec.haproxy.HAProxyMessageDecoder; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; public class Example { public static void main(String[] args) { ByteBuf buf = Unpooled.wrappedBuffer(new byte[] { 0x0D, 0x0A, 0x0D, 0x0A, 0x00, 0x0D, 0x0A, 0x51, 0x55, 0x49, 0x54, 0x0A }); HAProxyMessageDecoder decoder = new HAProxyMessageDecoder(); // Decoding logic would be used in a pipeline System.out.println("HAProxy codec ready"); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
4.1.134.Finallatest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
netty-codec-haproxy — mvn dependency:get netty-codec-haproxy · libregistry