public enum HttpError extends Enum<HttpError>
| Enum Constant and Description |
|---|
HttpCode304
This should not happen since pages are always retrieved from db
|
HttpCode400 |
HttpCode401 |
HttpCode403 |
HttpCode404 |
HttpCode500 |
HttpCode501 |
HttpCode502 |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultContent() |
String |
getDescription() |
String |
getMeaning() |
static void |
main(String[] args) |
static HttpError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpError HttpCode304
public static final HttpError HttpCode400
public static final HttpError HttpCode401
public static final HttpError HttpCode403
public static final HttpError HttpCode404
public static final HttpError HttpCode500
public static final HttpError HttpCode501
public static final HttpError HttpCode502
public static HttpError[] values()
for (HttpError c : HttpError.values()) System.out.println(c);
public static HttpError 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 String getMeaning()
public String getDescription()
public String getDefaultContent()
public static void main(String[] args)
Copyright © 2013. All Rights Reserved.