| Package | Description |
|---|---|
| io.netty.handler.codec |
Extensible decoder and its common implementations which deal with the
packet fragmentation and reassembly issue found in a stream-based transport
such as TCP/IP.
|
| io.netty.handler.codec.haproxy |
Decodes an HAProxy proxy protocol header
|
| Modifier and Type | Method and Description |
|---|---|
static <T> ProtocolDetectionResult<T> |
ProtocolDetectionResult.detected(T protocol)
Returns a
ProtocolDetectionResult which holds the detected protocol. |
static <T> ProtocolDetectionResult<T> |
ProtocolDetectionResult.invalid()
Returns a
ProtocolDetectionResult that signals the data was invalid for the protocol. |
static <T> ProtocolDetectionResult<T> |
ProtocolDetectionResult.needsMoreData()
Returns a
ProtocolDetectionResult that signals that more data is needed to detect the protocol. |
| Modifier and Type | Method and Description |
|---|---|
static ProtocolDetectionResult<HAProxyProtocolVersion> |
HAProxyMessageDecoder.detectProtocol(ByteBuf buffer)
Returns the
ProtocolDetectionResult for the given ByteBuf. |
Copyright © 2008–2025 The Netty Project. All rights reserved.