| Modifier and Type | Field and Description |
|---|---|
| private final byte | |
| private static final byte | COMMAND_MASK
The command is specified in the lowest 4 bits of the protocol version and command byte |
| public static final HAProxyCommand | LOCAL
The LOCAL command represents a connection that was established on purpose by the proxy without being relayed. |
| public static final HAProxyCommand | PROXY
The PROXY command represents a connection that was established on behalf of another node, and reflects the original connection endpoints. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public static HAProxyCommand | |
| public static HAProxyCommand | valueOf(byte
protocol version and command byte verCmdByte)Returns the |
| public static HAProxyCommand[] |
| byteValue | back to summary |
|---|---|
| private final byte byteValue | |
| COMMAND_MASK | back to summary |
|---|---|
| private static final byte COMMAND_MASK The command is specified in the lowest 4 bits of the protocol version and command byte | |
| LOCAL | back to summary |
|---|---|
| public static final HAProxyCommand LOCAL The LOCAL command represents a connection that was established on purpose by the proxy without being relayed. | |
| PROXY | back to summary |
|---|---|
| public static final HAProxyCommand PROXY The PROXY command represents a connection that was established on behalf of another node, and reflects the original connection endpoints. | |
| HAProxyCommand | back to summary |
|---|---|
| private HAProxyCommand(byte byteValue) Creates a new instance | |
| byteValue | back to summary |
|---|---|
| public byte byteValue() Returns the byte value of this command. | |
| valueOf | back to summary |
|---|---|
| public static HAProxyCommand valueOf(String name) | |
| valueOf | back to summary |
|---|---|
| public static HAProxyCommand valueOf(byte verCmdByte) Returns the
| |
| values | back to summary |
|---|---|
| public static HAProxyCommand[] values() | |