Package | Description |
---|---|
io.netty.handler.codec.haproxy |
Decodes an HAProxy proxy protocol header
|
Modifier and Type | Method and Description |
---|---|
HAProxyProtocolVersion |
HAProxyMessage.protocolVersion()
Returns the
HAProxyProtocolVersion of this HAProxyMessage . |
static HAProxyProtocolVersion |
HAProxyProtocolVersion.valueOf(byte verCmdByte)
Returns the
HAProxyProtocolVersion represented by the highest 4 bits of the specified byte. |
static HAProxyProtocolVersion |
HAProxyProtocolVersion.valueOf(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.
|
Modifier and Type | Method and Description |
---|---|
static ProtocolDetectionResult<HAProxyProtocolVersion> |
HAProxyMessageDecoder.detectProtocol(ByteBuf buffer)
Returns the
ProtocolDetectionResult for the given ByteBuf . |
Constructor and Description |
---|
HAProxyMessage(HAProxyProtocolVersion protocolVersion,
HAProxyCommand command,
HAProxyProxiedProtocol proxiedProtocol,
String sourceAddress,
String destinationAddress,
int sourcePort,
int destinationPort)
Creates a new instance of HAProxyMessage.
|
HAProxyMessage(HAProxyProtocolVersion protocolVersion,
HAProxyCommand command,
HAProxyProxiedProtocol proxiedProtocol,
String sourceAddress,
String destinationAddress,
int sourcePort,
int destinationPort,
List<? extends HAProxyTLV> tlvs)
Creates a new instance of HAProxyMessage.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.