|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum
org.jdesktop.http.StatusCode
public enum StatusCode extends Enum
Based on: The HttpClient project's HttpStatus class. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
| Field Summary | |
|---|---|
private int |
code
Based on: The HttpClient project's HttpStatus class. |
private String |
description
|
| Method Summary | |
|---|---|
private def
|
StatusCode(int code, String description)
|
int
|
getCode()
|
String
|
getDescription()
|
String
|
toString()
|
StatusCode
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StatusCode
|
valueOf(int code)
|
StatusCode[]
|
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Enum | |
|---|---|
| name, equals, toString, hashCode, compareTo, compareTo, valueOf, getDeclaringClass, ordinal, wait, wait, wait, getClass, notify, notifyAll |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Enum Constant Detail |
|---|
StatusCode ACCEPTED
StatusCode BAD_GATEWAY
StatusCode BAD_REQUEST
StatusCode CONFLICT
StatusCode CONTINUE
StatusCode CREATED
StatusCode EXPECTATION_FAILED
StatusCode FAILED_DEPENDENCY
StatusCode FORBIDDEN
StatusCode GATEWAY_TIMEOUT
StatusCode GONE
StatusCode HTTP_VERSION_NOT_SUPPORTED
StatusCode INSUFFICIENT_SPACE_ON_RESOURCE
StatusCode INSUFFICIENT_STORAGE
StatusCode INTERNAL_SERVER_ERROR
StatusCode LENGTH_REQUIRED
StatusCode LOCKED
StatusCode METHOD_FAILURE
StatusCode METHOD_NOT_ALLOWED
StatusCode MOVED_PERMANENTLY
StatusCode MOVED_TEMPORARILY
StatusCode MULTIPLE_CHOICES
StatusCode MULTI_STATUS
StatusCode NON_AUTHORITATIVE_INFORMATION
StatusCode NOT_ACCEPTABLE
StatusCode NOT_FOUND
StatusCode NOT_IMPLEMENTED
StatusCode NOT_MODIFIED
StatusCode NO_CONTENT
StatusCode OK
StatusCode PARTIAL_CONTENT
StatusCode PAYMENT_REQUIRED
StatusCode PRECONDITION_FAILED
StatusCode PROCESSING
StatusCode PROXY_AUTHENTICATION_REQUIRED
StatusCode REQUESTED_RANGE_NOT_SATISFIABLE
StatusCode REQUEST_TIMEOUT
StatusCode REQUEST_TOO_LONG
StatusCode REQUEST_URI_TOO_LONG
StatusCode RESET_CONTENT
StatusCode SEE_OTHER
StatusCode SERVICE_UNAVAILABLE
StatusCode SWITCHING_PROTOCOLS
StatusCode TEMPORARY_REDIRECT
StatusCode UNAUTHORIZED
StatusCode UNPROCESSABLE_ENTITY
StatusCode UNSUPPORTED_MEDIA_TYPE
StatusCode USE_PROXY
| Field Detail |
|---|
private int code
private String description
| Method Detail |
|---|
private def StatusCode(int code, String description)
public int getCode()
public String getDescription()
public String toString()
StatusCode valueOf(String name)
public static StatusCode valueOf(int code)
StatusCode[] values()
Groovy Documentation