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.