public static enum HttpStatusCode.HttpStatusClass extends Enum<HttpStatusCode.HttpStatusClass>
Enum Constant and Description |
---|
CLIENT_ERROR |
EXTENSION |
INFORMATIONAL |
REDIRECTION |
SERVER_ERROR |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static HttpStatusCode.HttpStatusClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpStatusCode.HttpStatusClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpStatusCode.HttpStatusClass INFORMATIONAL
public static final HttpStatusCode.HttpStatusClass SUCCESS
public static final HttpStatusCode.HttpStatusClass REDIRECTION
public static final HttpStatusCode.HttpStatusClass CLIENT_ERROR
public static final HttpStatusCode.HttpStatusClass SERVER_ERROR
public static final HttpStatusCode.HttpStatusClass EXTENSION
public static HttpStatusCode.HttpStatusClass[] values()
for (HttpStatusCode.HttpStatusClass c : HttpStatusCode.HttpStatusClass.values()) System.out.println(c);
public static HttpStatusCode.HttpStatusClass 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 © 2011–2016 Pcap4J.org. All rights reserved.