public enum HAProxyProxiedProtocol extends Enum<HAProxyProxiedProtocol>
| Modifier and Type | Class and Description | 
|---|---|
| static class  | HAProxyProxiedProtocol.AddressFamilyThe address family of an HAProxy proxy protocol header. | 
| static class  | HAProxyProxiedProtocol.TransportProtocolThe transport protocol of an HAProxy proxy protocol header | 
| Enum Constant and Description | 
|---|
| TCP4The TCP4 represents a connection which was forwarded for an IPv4 client over TCP. | 
| TCP6The TCP6 represents a connection which was forwarded for an IPv6 client over TCP. | 
| UDP4The UDP4 represents a connection which was forwarded for an IPv4 client over UDP. | 
| UDP6The UDP6 represents a connection which was forwarded for an IPv6 client over UDP. | 
| UNIX_DGRAMThe UNIX_DGRAM represents a connection which was forwarded for a UNIX datagram socket. | 
| UNIX_STREAMThe UNIX_STREAM represents a connection which was forwarded for a UNIX stream socket. | 
| UNKNOWNThe UNKNOWN represents a connection which was forwarded for an unknown protocol and an unknown address family. | 
| Modifier and Type | Method and Description | 
|---|---|
| HAProxyProxiedProtocol.AddressFamily | addressFamily()Returns the  HAProxyProxiedProtocol.AddressFamilyof this protocol and address family. | 
| byte | byteValue()Returns the byte value of this protocol and address family. | 
| HAProxyProxiedProtocol.TransportProtocol | transportProtocol()Returns the  HAProxyProxiedProtocol.TransportProtocolof this protocol and address family. | 
| static HAProxyProxiedProtocol | valueOf(byte tpafByte)Returns the  HAProxyProxiedProtocolrepresented by the specified byte. | 
| static HAProxyProxiedProtocol | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static HAProxyProxiedProtocol[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final HAProxyProxiedProtocol UNKNOWN
public static final HAProxyProxiedProtocol TCP4
public static final HAProxyProxiedProtocol TCP6
public static final HAProxyProxiedProtocol UDP4
public static final HAProxyProxiedProtocol UDP6
public static final HAProxyProxiedProtocol UNIX_STREAM
public static final HAProxyProxiedProtocol UNIX_DGRAM
public static HAProxyProxiedProtocol[] values()
for (HAProxyProxiedProtocol c : HAProxyProxiedProtocol.values()) System.out.println(c);
public static HAProxyProxiedProtocol valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static HAProxyProxiedProtocol valueOf(byte tpafByte)
HAProxyProxiedProtocol represented by the specified byte.tpafByte - transport protocol and address family bytepublic byte byteValue()
public HAProxyProxiedProtocol.AddressFamily addressFamily()
HAProxyProxiedProtocol.AddressFamily of this protocol and address family.public HAProxyProxiedProtocol.TransportProtocol transportProtocol()
HAProxyProxiedProtocol.TransportProtocol of this protocol and address family.Copyright © 2008–2015 The Netty Project. All rights reserved.