Package | Description |
---|---|
io.netty.handler.codec.haproxy |
Decodes an HAProxy proxy protocol header
|
Modifier and Type | Field and Description |
---|---|
private HAProxyCommand |
HAProxyMessage.command |
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(java.lang.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,
java.lang.String sourceAddress,
java.lang.String destinationAddress,
int sourcePort,
int destinationPort)
Creates a new instance
|
HAProxyMessage(HAProxyProtocolVersion protocolVersion,
HAProxyCommand command,
HAProxyProxiedProtocol proxiedProtocol,
java.lang.String sourceAddress,
java.lang.String destinationAddress,
java.lang.String sourcePort,
java.lang.String destinationPort)
Creates a new instance
|