Uses of Class
io.netty.handler.codec.ProtocolDetectionResult
Packages that use ProtocolDetectionResult
Package
Description
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.
Decodes an HAProxy proxy protocol header
-
Uses of ProtocolDetectionResult in io.netty.handler.codec
Fields in io.netty.handler.codec declared as ProtocolDetectionResultModifier and TypeFieldDescriptionprivate static final ProtocolDetectionResult
ProtocolDetectionResult.INVALID
private static final ProtocolDetectionResult
ProtocolDetectionResult.NEEDS_MORE_DATA
Methods in io.netty.handler.codec that return ProtocolDetectionResultModifier and TypeMethodDescriptionstatic <T> ProtocolDetectionResult
<T> ProtocolDetectionResult.detected
(T protocol) Returns aProtocolDetectionResult
which holds the detected protocol.static <T> ProtocolDetectionResult
<T> ProtocolDetectionResult.invalid()
Returns aProtocolDetectionResult
that signals the data was invalid for the protocol.static <T> ProtocolDetectionResult
<T> ProtocolDetectionResult.needsMoreData()
Returns aProtocolDetectionResult
that signals that more data is needed to detect the protocol. -
Uses of ProtocolDetectionResult in io.netty.handler.codec.haproxy
Fields in io.netty.handler.codec.haproxy declared as ProtocolDetectionResultModifier and TypeFieldDescriptionprivate static final ProtocolDetectionResult
<HAProxyProtocolVersion> HAProxyMessageDecoder.DETECTION_RESULT_V1
private static final ProtocolDetectionResult
<HAProxyProtocolVersion> HAProxyMessageDecoder.DETECTION_RESULT_V2
Methods in io.netty.handler.codec.haproxy that return ProtocolDetectionResultModifier and TypeMethodDescriptionHAProxyMessageDecoder.detectProtocol
(ByteBuf buffer) Returns theProtocolDetectionResult
for the givenByteBuf
.