| Modifier and Type | Class and Description |
|---|---|
| public static enum | HAProxyProxiedProtocol.
The address family of an HAProxy proxy protocol header. |
| public static enum | HAProxyProxiedProtocol.
The transport protocol of an HAProxy proxy protocol header |
| Modifier and Type | Field and Description |
|---|---|
| private final HAProxyProxiedProtocol. | |
| private final byte | |
| public static final HAProxyProxiedProtocol | TCP4
The TCP4 represents a connection which was forwarded for an IPv4 client over TCP. |
| public static final HAProxyProxiedProtocol | TCP6
The TCP6 represents a connection which was forwarded for an IPv6 client over TCP. |
| private final HAProxyProxiedProtocol. | |
| public static final HAProxyProxiedProtocol | UDP4
The UDP4 represents a connection which was forwarded for an IPv4 client over UDP. |
| public static final HAProxyProxiedProtocol | UDP6
The UDP6 represents a connection which was forwarded for an IPv6 client over UDP. |
| public static final HAProxyProxiedProtocol | UNIX_DGRAM
The UNIX_DGRAM represents a connection which was forwarded for a UNIX datagram socket. |
| public static final HAProxyProxiedProtocol | UNIX_STREAM
The UNIX_STREAM represents a connection which was forwarded for a UNIX stream socket. |
| public static final HAProxyProxiedProtocol | UNKNOWN
The UNKNOWN represents a connection which was forwarded for an unknown protocol and an unknown address family. |
| Access | Constructor and Description |
|---|---|
| private | HAProxyProxiedProtocol(byte byteValue, HAProxyProxiedProtocol.
Creates a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public HAProxyProxiedProtocol. | |
| public byte | |
| public HAProxyProxiedProtocol. | |
| public static HAProxyProxiedProtocol | |
| public static HAProxyProxiedProtocol | valueOf(byte
transport protocol and address family byte tpafByte)Returns the |
| public static HAProxyProxiedProtocol[] |
| addressFamily | back to summary |
|---|---|
| private final HAProxyProxiedProtocol. | |
| byteValue | back to summary |
|---|---|
| private final byte byteValue | |
| TCP4 | back to summary |
|---|---|
| public static final HAProxyProxiedProtocol TCP4 The TCP4 represents a connection which was forwarded for an IPv4 client over TCP. | |
| TCP6 | back to summary |
|---|---|
| public static final HAProxyProxiedProtocol TCP6 The TCP6 represents a connection which was forwarded for an IPv6 client over TCP. | |
| transportProtocol | back to summary |
|---|---|
| private final HAProxyProxiedProtocol. | |
| UDP4 | back to summary |
|---|---|
| public static final HAProxyProxiedProtocol UDP4 The UDP4 represents a connection which was forwarded for an IPv4 client over UDP. | |
| UDP6 | back to summary |
|---|---|
| public static final HAProxyProxiedProtocol UDP6 The UDP6 represents a connection which was forwarded for an IPv6 client over UDP. | |
| UNIX_DGRAM | back to summary |
|---|---|
| public static final HAProxyProxiedProtocol UNIX_DGRAM The UNIX_DGRAM represents a connection which was forwarded for a UNIX datagram socket. | |
| UNIX_STREAM | back to summary |
|---|---|
| public static final HAProxyProxiedProtocol UNIX_STREAM The UNIX_STREAM represents a connection which was forwarded for a UNIX stream socket. | |
| UNKNOWN | back to summary |
|---|---|
| public static final HAProxyProxiedProtocol UNKNOWN The UNKNOWN represents a connection which was forwarded for an unknown protocol and an unknown address family. | |
| HAProxyProxiedProtocol | back to summary |
|---|---|
| private HAProxyProxiedProtocol(byte byteValue, HAProxyProxiedProtocol. Creates a new instance. | |
| addressFamily | back to summary |
|---|---|
| public HAProxyProxiedProtocol. Returns the | |
| byteValue | back to summary |
|---|---|
| public byte byteValue() Returns the byte value of this protocol and address family. | |
| transportProtocol | back to summary |
|---|---|
| public HAProxyProxiedProtocol. Returns the | |
| valueOf | back to summary |
|---|---|
| public static HAProxyProxiedProtocol valueOf(String name) | |
| valueOf | back to summary |
|---|---|
| public static HAProxyProxiedProtocol valueOf(byte tpafByte) Returns the
| |
| values | back to summary |
|---|---|
| public static HAProxyProxiedProtocol[] values() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final HAProxyProxiedProtocol. | AF_IPv4
The IPV4 address family represents a connection which was forwarded for an IPV4 client. |
| public static final HAProxyProxiedProtocol. | AF_IPv6
The IPV6 address family represents a connection which was forwarded for an IPV6 client. |
| public static final HAProxyProxiedProtocol. | AF_UNIX
The UNIX address family represents a connection which was forwarded for a unix socket. |
| public static final HAProxyProxiedProtocol. | AF_UNSPEC
The UNSPECIFIED address family represents a connection which was forwarded for an unknown protocol. |
| private final byte | |
| private static final byte | FAMILY_MASK
The highest 4 bits of the transport protocol and address family byte contain the address family |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public static HAProxyProxiedProtocol. | |
| public static HAProxyProxiedProtocol. | valueOf(byte
transport protocol and address family byte tpafByte)Returns the |
| public static HAProxyProxiedProtocol. |
| AF_IPv4 | back to summary |
|---|---|
| public static final HAProxyProxiedProtocol. The IPV4 address family represents a connection which was forwarded for an IPV4 client. | |
| AF_IPv6 | back to summary |
|---|---|
| public static final HAProxyProxiedProtocol. The IPV6 address family represents a connection which was forwarded for an IPV6 client. | |
| AF_UNIX | back to summary |
|---|---|
| public static final HAProxyProxiedProtocol. The UNIX address family represents a connection which was forwarded for a unix socket. | |
| AF_UNSPEC | back to summary |
|---|---|
| public static final HAProxyProxiedProtocol. The UNSPECIFIED address family represents a connection which was forwarded for an unknown protocol. | |
| byteValue | back to summary |
|---|---|
| private final byte byteValue | |
| FAMILY_MASK | back to summary |
|---|---|
| private static final byte FAMILY_MASK The highest 4 bits of the transport protocol and address family byte contain the address family | |
| AddressFamily | back to summary |
|---|---|
| private AddressFamily(byte byteValue) Creates a new instance | |
| byteValue | back to summary |
|---|---|
| public byte byteValue() Returns the byte value of this address family. | |
| valueOf | back to summary |
|---|---|
| public static HAProxyProxiedProtocol. | |
| valueOf | back to summary |
|---|---|
| public static HAProxyProxiedProtocol. Returns the
| |
| values | back to summary |
|---|---|
| public static HAProxyProxiedProtocol. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final HAProxyProxiedProtocol. | DGRAM
The DGRAM transport protocol represents a connection which was forwarded for a UDP connection. |
| public static final HAProxyProxiedProtocol. | STREAM
The STREAM transport protocol represents a connection which was forwarded for a TCP connection. |
| private static final byte | TRANSPORT_MASK
The transport protocol is specified in the lowest 4 bits of the transport protocol and address family byte |
| private final byte | |
| public static final HAProxyProxiedProtocol. | UNSPEC
The UNSPEC transport protocol represents a connection which was forwarded for an unknown protocol. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public byte | |
| public static HAProxyProxiedProtocol. | |
| public static HAProxyProxiedProtocol. | valueOf(byte
transport protocol and address family byte tpafByte)Returns the |
| public static HAProxyProxiedProtocol. |
| DGRAM | back to summary |
|---|---|
| public static final HAProxyProxiedProtocol. The DGRAM transport protocol represents a connection which was forwarded for a UDP connection. | |
| STREAM | back to summary |
|---|---|
| public static final HAProxyProxiedProtocol. The STREAM transport protocol represents a connection which was forwarded for a TCP connection. | |
| TRANSPORT_MASK | back to summary |
|---|---|
| private static final byte TRANSPORT_MASK The transport protocol is specified in the lowest 4 bits of the transport protocol and address family byte | |
| transportByte | back to summary |
|---|---|
| private final byte transportByte | |
| UNSPEC | back to summary |
|---|---|
| public static final HAProxyProxiedProtocol. The UNSPEC transport protocol represents a connection which was forwarded for an unknown protocol. | |
| TransportProtocol | back to summary |
|---|---|
| private TransportProtocol(byte transportByte) Creates a new instance. | |
| byteValue | back to summary |
|---|---|
| public byte byteValue() Returns the byte value of this transport protocol. | |
| valueOf | back to summary |
|---|---|
| public static HAProxyProxiedProtocol. | |
| valueOf | back to summary |
|---|---|
| public static HAProxyProxiedProtocol. Returns the
| |
| values | back to summary |
|---|---|
| public static HAProxyProxiedProtocol. | |