public enum SocksAddressType extends java.lang.Enum<SocksAddressType>
| Modifier and Type | Method and Description |
|---|---|
byte |
byteValue() |
static SocksAddressType |
fromByte(byte b)
Deprecated.
Use
valueOf(byte) instead. |
static SocksAddressType |
valueOf(byte b) |
static SocksAddressType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SocksAddressType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocksAddressType IPv4
public static final SocksAddressType DOMAIN
public static final SocksAddressType IPv6
public static final SocksAddressType UNKNOWN
public static SocksAddressType[] values()
for (SocksAddressType c : SocksAddressType.values()) System.out.println(c);
public static SocksAddressType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@Deprecated public static SocksAddressType fromByte(byte b)
valueOf(byte) instead.public static SocksAddressType valueOf(byte b)
public byte byteValue()
Copyright © 2008–2018 The Netty Project. All rights reserved.