| Modifier and Type | Field and Description |
|---|---|
| private final byte | |
| public static final HAProxyProtocolVersion | V1
The ONE proxy protocol version represents a version 1 (human-readable) header. |
| public static final HAProxyProtocolVersion | V2
The TWO proxy protocol version represents a version 2 (binary) header. |
| private static final byte | VERSION_MASK
The highest 4 bits of the protocol version and command byte contain the version |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public static HAProxyProtocolVersion | |
| public static HAProxyProtocolVersion | valueOf(byte
protocol version and command byte verCmdByte)Returns the |
| public static HAProxyProtocolVersion[] |
| byteValue | back to summary |
|---|---|
| private final byte byteValue | |
| V1 | back to summary |
|---|---|
| public static final HAProxyProtocolVersion V1 The ONE proxy protocol version represents a version 1 (human-readable) header. | |
| V2 | back to summary |
|---|---|
| public static final HAProxyProtocolVersion V2 The TWO proxy protocol version represents a version 2 (binary) header. | |
| VERSION_MASK | back to summary |
|---|---|
| private static final byte VERSION_MASK The highest 4 bits of the protocol version and command byte contain the version | |
| HAProxyProtocolVersion | back to summary |
|---|---|
| private HAProxyProtocolVersion(byte byteValue) Creates a new instance | |
| byteValue | back to summary |
|---|---|
| public byte byteValue() Returns the byte value of this version. | |
| valueOf | back to summary |
|---|---|
| public static HAProxyProtocolVersion valueOf(String name) | |
| valueOf | back to summary |
|---|---|
| public static HAProxyProtocolVersion valueOf(byte verCmdByte) Returns the
| |
| values | back to summary |
|---|---|
| public static HAProxyProtocolVersion[] values() | |