|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AbstractMethod.Status>
org.efaps.ui.webdav.method.AbstractMethod.Status
public static enum AbstractMethod.Status
| Enum Constant Summary | |
|---|---|
BAD_REQUEST
Status code (400) indicating the request sent by the client was syntactically incorrect. |
|
CONFLICT
Status code (405) indicating that the method specified in the Request-Line is not allowed for the resource identified by the Request-URI. |
|
CREATED
Status code (201) indicating the request succeeded and created a new resource on the server. |
|
FORBIDDEN
Status code (403) indicating the server understood the request but refused to fulfill it. |
|
METHOD_NOT_ALLOWED
Status code (405) indicating that the method specified in the Request-Line is not allowed for the resource identified by the Request-URI. |
|
NO_CONTENT
Status code (204) indicating that the request succeeded but that there was no new information to return. |
|
NOT_FOUND
Status code (404) indicating that the requested resource is not available. |
|
NOT_IMPLEMENTED
Status code (501) indicating the HTTP server does not support the functionality needed to fulfill the request. |
|
PRECONDITION_FAILED
Status code (412) indicating that the precondition given in one or more of the request-header fields evaluated to false when it was tested on the server. |
|
| Field Summary | |
|---|---|
int |
code
The variable stores the code number of the status flag. |
java.lang.String |
text
The variable stores the text to the code of the status flag. |
| Method Summary | |
|---|---|
static AbstractMethod.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AbstractMethod.Status[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AbstractMethod.Status CREATED
public static final AbstractMethod.Status NO_CONTENT
public static final AbstractMethod.Status BAD_REQUEST
public static final AbstractMethod.Status FORBIDDEN
public static final AbstractMethod.Status NOT_FOUND
public static final AbstractMethod.Status CONFLICT
public static final AbstractMethod.Status METHOD_NOT_ALLOWED
public static final AbstractMethod.Status PRECONDITION_FAILED
public static final AbstractMethod.Status NOT_IMPLEMENTED
| Field Detail |
|---|
public final int code
public final java.lang.String text
| Method Detail |
|---|
public static AbstractMethod.Status[] values()
for (AbstractMethod.Status c : AbstractMethod.Status.values()) System.out.println(c);
public static AbstractMethod.Status 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 name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||