Uses of Class
io.netty.handler.codec.haproxy.HAProxyProtocolVersion
-
Packages that use HAProxyProtocolVersion Package Description io.netty.handler.codec.haproxy Decodes an HAProxy proxy protocol header -
-
Uses of HAProxyProtocolVersion in io.netty.handler.codec.haproxy
Methods in io.netty.handler.codec.haproxy that return HAProxyProtocolVersion Modifier and Type Method Description HAProxyProtocolVersion
HAProxyMessage. protocolVersion()
Returns theHAProxyProtocolVersion
of thisHAProxyMessage
.static HAProxyProtocolVersion
HAProxyProtocolVersion. valueOf(byte verCmdByte)
Returns theHAProxyProtocolVersion
represented by the highest 4 bits of the specified byte.static HAProxyProtocolVersion
HAProxyProtocolVersion. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HAProxyProtocolVersion[]
HAProxyProtocolVersion. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.netty.handler.codec.haproxy that return types with arguments of type HAProxyProtocolVersion Modifier and Type Method Description static ProtocolDetectionResult<HAProxyProtocolVersion>
HAProxyMessageDecoder. detectProtocol(ByteBuf buffer)
Returns theProtocolDetectionResult
for the givenByteBuf
.Constructors in io.netty.handler.codec.haproxy with parameters of type HAProxyProtocolVersion Constructor Description HAProxyMessage(HAProxyProtocolVersion protocolVersion, HAProxyCommand command, HAProxyProxiedProtocol proxiedProtocol, java.lang.String sourceAddress, java.lang.String destinationAddress, int sourcePort, int destinationPort)
Creates a new instance of HAProxyMessage.HAProxyMessage(HAProxyProtocolVersion protocolVersion, HAProxyCommand command, HAProxyProxiedProtocol proxiedProtocol, java.lang.String sourceAddress, java.lang.String destinationAddress, int sourcePort, int destinationPort, java.util.List<? extends HAProxyTLV> tlvs)
Creates a new instance of HAProxyMessage.
-