Package | Description |
---|---|
io.netty.handler.codec.haproxy |
Decodes an HAProxy proxy protocol header
|
Modifier and Type | Method and Description |
---|---|
HAProxyCommand |
HAProxyMessage.command()
Returns the
HAProxyCommand of this HAProxyMessage . |
static HAProxyCommand |
HAProxyCommand.valueOf(byte verCmdByte)
Returns the
HAProxyCommand represented by the lowest 4 bits of the specified byte. |
static HAProxyCommand |
HAProxyCommand.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HAProxyCommand[] |
HAProxyCommand.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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.