public enum SocksMessageType extends Enum<SocksMessageType>
| Modifier and Type | Method and Description | 
|---|---|
| static SocksMessageType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static SocksMessageType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final SocksMessageType REQUEST
public static final SocksMessageType RESPONSE
public static final SocksMessageType UNKNOWN
public static SocksMessageType[] values()
for (SocksMessageType c : SocksMessageType.values()) System.out.println(c);
public static SocksMessageType 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 nullCopyright © 2008–2025 The Netty Project. All rights reserved.