Enum StatusCode
- java.lang.Object
-
- java.lang.Enum<StatusCode>
-
- org.rootservices.otter.controller.entity.StatusCode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<StatusCode>,java.lang.constant.Constable
public enum StatusCode extends java.lang.Enum<StatusCode>
-
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description java.lang.IntegergetCode()static StatusCodevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static StatusCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTINUE
public static final StatusCode CONTINUE
-
SWITCHING_PROTOCOLS
public static final StatusCode SWITCHING_PROTOCOLS
-
OK
public static final StatusCode OK
-
CREATED
public static final StatusCode CREATED
-
ACCEPTED
public static final StatusCode ACCEPTED
-
NON_AUTHORITATIVE_INFORMATION
public static final StatusCode NON_AUTHORITATIVE_INFORMATION
-
NO_CONTENT
public static final StatusCode NO_CONTENT
-
RESET_CONTENT
public static final StatusCode RESET_CONTENT
-
PARTIAL_CONTENT
public static final StatusCode PARTIAL_CONTENT
-
MULTIPLE_CHOICES
public static final StatusCode MULTIPLE_CHOICES
-
MOVED_PERMANENTLY
public static final StatusCode MOVED_PERMANENTLY
-
MOVED_TEMPORARILY
public static final StatusCode MOVED_TEMPORARILY
-
FOUND
public static final StatusCode FOUND
-
SEE_OTHER
public static final StatusCode SEE_OTHER
-
NOT_MODIFIED
public static final StatusCode NOT_MODIFIED
-
USE_PROXY
public static final StatusCode USE_PROXY
-
TEMPORARY_REDIRECT
public static final StatusCode TEMPORARY_REDIRECT
-
BAD_REQUEST
public static final StatusCode BAD_REQUEST
-
UNAUTHORIZED
public static final StatusCode UNAUTHORIZED
-
PAYMENT_REQUIRED
public static final StatusCode PAYMENT_REQUIRED
-
FORBIDDEN
public static final StatusCode FORBIDDEN
-
NOT_FOUND
public static final StatusCode NOT_FOUND
-
METHOD_NOT_ALLOWED
public static final StatusCode METHOD_NOT_ALLOWED
-
NOT_ACCEPTABLE
public static final StatusCode NOT_ACCEPTABLE
-
PROXY_AUTHENTICATION_REQUIRED
public static final StatusCode PROXY_AUTHENTICATION_REQUIRED
-
REQUEST_TIMEOUT
public static final StatusCode REQUEST_TIMEOUT
-
CONFLICT
public static final StatusCode CONFLICT
-
GONE
public static final StatusCode GONE
-
LENGTH_REQUIRED
public static final StatusCode LENGTH_REQUIRED
-
PRECONDITION_FAILED
public static final StatusCode PRECONDITION_FAILED
-
REQUEST_ENTITY_TOO_LARGE
public static final StatusCode REQUEST_ENTITY_TOO_LARGE
-
REQUEST_URI_TOO_LONG
public static final StatusCode REQUEST_URI_TOO_LONG
-
UNSUPPORTED_MEDIA_TYPE
public static final StatusCode UNSUPPORTED_MEDIA_TYPE
-
REQUESTED_RANGE_NOT_SATISFIABLE
public static final StatusCode REQUESTED_RANGE_NOT_SATISFIABLE
-
EXPECTATION_FAILED
public static final StatusCode EXPECTATION_FAILED
-
SERVER_ERROR
public static final StatusCode SERVER_ERROR
-
NOT_IMPLEMENTED
public static final StatusCode NOT_IMPLEMENTED
-
BAD_GATEWAY
public static final StatusCode BAD_GATEWAY
-
SERVICE_UNAVAILABLE
public static final StatusCode SERVICE_UNAVAILABLE
-
GATEWAY_TIMEOUT
public static final StatusCode GATEWAY_TIMEOUT
-
HTTP_VERSION_NOT_SUPPORTED
public static final StatusCode HTTP_VERSION_NOT_SUPPORTED
-
-
Method Detail
-
values
public static StatusCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StatusCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getCode
public java.lang.Integer getCode()
-
-