public final class ProxyProtocolDecoder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static io.netty.handler.codec.haproxy.HAProxyMessage |
decode(io.netty.buffer.ByteBuf packet,
int version) |
static io.netty.handler.codec.ProtocolDetectionResult<io.netty.handler.codec.haproxy.HAProxyProtocolVersion> |
detectProtocol(io.netty.buffer.ByteBuf buffer)
Returns the
ProtocolDetectionResult for the given ByteBuf. |
static int |
findVersion(io.netty.buffer.ByteBuf buffer) |
public static io.netty.handler.codec.haproxy.HAProxyMessage decode(io.netty.buffer.ByteBuf packet,
int version)
public static int findVersion(io.netty.buffer.ByteBuf buffer)
public static io.netty.handler.codec.ProtocolDetectionResult<io.netty.handler.codec.haproxy.HAProxyProtocolVersion> detectProtocol(io.netty.buffer.ByteBuf buffer)
ProtocolDetectionResult for the given ByteBuf.