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