| 程序包 | 说明 |
|---|---|
| io.netty.handler.codec |
Benchmarks for
io.netty.handler.codec. |
| io.netty.handler.codec.haproxy |
Decodes an HAProxy proxy protocol header
|
| 限定符和类型 | 方法和说明 |
|---|---|
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. |
| 限定符和类型 | 方法和说明 |
|---|---|
static ProtocolDetectionResult<HAProxyProtocolVersion> |
HAProxyMessageDecoder.detectProtocol(ByteBuf buffer)
Returns the
ProtocolDetectionResult for the given ByteBuf. |