Uses of Class
io.netty.handler.codec.ProtocolDetectionResult
-
Packages that use ProtocolDetectionResult 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 -
-
Uses of ProtocolDetectionResult in io.netty.handler.codec
Fields in io.netty.handler.codec declared as ProtocolDetectionResult Modifier and Type Field Description private static ProtocolDetectionResultProtocolDetectionResult. INVALIDprivate static ProtocolDetectionResultProtocolDetectionResult. NEEDS_MORE_DATAMethods in io.netty.handler.codec that return ProtocolDetectionResult Modifier and Type Method Description static <T> ProtocolDetectionResult<T>ProtocolDetectionResult. detected(T protocol)Returns aProtocolDetectionResultwhich holds the detected protocol.static <T> ProtocolDetectionResult<T>ProtocolDetectionResult. invalid()Returns aProtocolDetectionResultthat signals the data was invalid for the protocol.static <T> ProtocolDetectionResult<T>ProtocolDetectionResult. needsMoreData()Returns aProtocolDetectionResultthat 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 ProtocolDetectionResult Modifier and Type Field Description private static ProtocolDetectionResult<HAProxyProtocolVersion>HAProxyMessageDecoder. DETECTION_RESULT_V1private static ProtocolDetectionResult<HAProxyProtocolVersion>HAProxyMessageDecoder. DETECTION_RESULT_V2Methods in io.netty.handler.codec.haproxy that return ProtocolDetectionResult Modifier and Type Method Description static ProtocolDetectionResult<HAProxyProtocolVersion>HAProxyMessageDecoder. detectProtocol(ByteBuf buffer)Returns theProtocolDetectionResultfor the givenByteBuf.
-