public enum Request extends Enum<Request>
| Modifier and Type | Method and Description |
|---|---|
byte |
getCode() |
static Request |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Request[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Request CONTINUE
public static final Request GET
public static final Request PUT
public static final Request REJECT
public static Request[] values()
for (Request c : Request.values()) System.out.println(c);
public static Request 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 byte getCode()
Copyright © 2013. All Rights Reserved.