Enum HTTPResponse.HTTPStatus
- java.lang.Object
-
- java.lang.Enum<HTTPResponse.HTTPStatus>
-
- com.openinventor.remoteviz.rendering.HTTPResponse.HTTPStatus
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<HTTPResponse.HTTPStatus>
- Enclosing class:
- HTTPResponse
public static enum HTTPResponse.HTTPStatus extends java.lang.Enum<HTTPResponse.HTTPStatus> implements IntegerValuedEnum
Enum for the HTTP status codes.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static HTTPResponse.HTTPStatus
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic HTTPResponse.HTTPStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HTTPResponse.HTTPStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final HTTPResponse.HTTPStatus UNKNOWN
-
CONTINUE
public static final HTTPResponse.HTTPStatus CONTINUE
-
SWITCHING_PROTOCOLS
public static final HTTPResponse.HTTPStatus SWITCHING_PROTOCOLS
-
PROCESSING
public static final HTTPResponse.HTTPStatus PROCESSING
-
EARLY_HINTS
public static final HTTPResponse.HTTPStatus EARLY_HINTS
-
OK
public static final HTTPResponse.HTTPStatus OK
-
CREATED
public static final HTTPResponse.HTTPStatus CREATED
-
ACCEPTED
public static final HTTPResponse.HTTPStatus ACCEPTED
-
NON_AUTHORITATIVE_INFORMATION
public static final HTTPResponse.HTTPStatus NON_AUTHORITATIVE_INFORMATION
-
NO_CONTENT
public static final HTTPResponse.HTTPStatus NO_CONTENT
-
RESET_CONTENT
public static final HTTPResponse.HTTPStatus RESET_CONTENT
-
PARTIAL_CONTENT
public static final HTTPResponse.HTTPStatus PARTIAL_CONTENT
-
MULTI_STATUS
public static final HTTPResponse.HTTPStatus MULTI_STATUS
-
ALREADY_REPORTED
public static final HTTPResponse.HTTPStatus ALREADY_REPORTED
-
IM_USED
public static final HTTPResponse.HTTPStatus IM_USED
-
MULTIPLE_CHOICES
public static final HTTPResponse.HTTPStatus MULTIPLE_CHOICES
-
MOVED_PERMANENTLY
public static final HTTPResponse.HTTPStatus MOVED_PERMANENTLY
-
FOUND
public static final HTTPResponse.HTTPStatus FOUND
-
SEE_OTHER
public static final HTTPResponse.HTTPStatus SEE_OTHER
-
NOT_MODIFIED
public static final HTTPResponse.HTTPStatus NOT_MODIFIED
-
USE_PROXY
public static final HTTPResponse.HTTPStatus USE_PROXY
-
TEMPORARY_REDIRECT
public static final HTTPResponse.HTTPStatus TEMPORARY_REDIRECT
-
PERMANENT_REDIRECT
public static final HTTPResponse.HTTPStatus PERMANENT_REDIRECT
-
BAD_REQUEST
public static final HTTPResponse.HTTPStatus BAD_REQUEST
-
UNAUTHORIZED
public static final HTTPResponse.HTTPStatus UNAUTHORIZED
-
PAYMENT_REQUIRED
public static final HTTPResponse.HTTPStatus PAYMENT_REQUIRED
-
FORBIDDEN
public static final HTTPResponse.HTTPStatus FORBIDDEN
-
NOT_FOUND
public static final HTTPResponse.HTTPStatus NOT_FOUND
-
METHOD_NOT_ALLOWED
public static final HTTPResponse.HTTPStatus METHOD_NOT_ALLOWED
-
NOT_ACCEPTABLE
public static final HTTPResponse.HTTPStatus NOT_ACCEPTABLE
-
PROXY_AUTHENTICATION_REQUIRED
public static final HTTPResponse.HTTPStatus PROXY_AUTHENTICATION_REQUIRED
-
REQUEST_TIMEOUT
public static final HTTPResponse.HTTPStatus REQUEST_TIMEOUT
-
CONFLICT
public static final HTTPResponse.HTTPStatus CONFLICT
-
GONE
public static final HTTPResponse.HTTPStatus GONE
-
LENGTH_REQUIRED
public static final HTTPResponse.HTTPStatus LENGTH_REQUIRED
-
PRECONDITION_FAILED
public static final HTTPResponse.HTTPStatus PRECONDITION_FAILED
-
PAYLOAD_TOO_LARGE
public static final HTTPResponse.HTTPStatus PAYLOAD_TOO_LARGE
-
URI_TOO_LONG
public static final HTTPResponse.HTTPStatus URI_TOO_LONG
-
UNSUPPORTED_MEDIA_TYPE
public static final HTTPResponse.HTTPStatus UNSUPPORTED_MEDIA_TYPE
-
RANGE_NOT_SATISFIABLE
public static final HTTPResponse.HTTPStatus RANGE_NOT_SATISFIABLE
-
EXPECTATION_FAILED
public static final HTTPResponse.HTTPStatus EXPECTATION_FAILED
-
MISDIRECTED_REQUEST
public static final HTTPResponse.HTTPStatus MISDIRECTED_REQUEST
-
UNPROCESSABLE_ENTITY
public static final HTTPResponse.HTTPStatus UNPROCESSABLE_ENTITY
-
LOCKED
public static final HTTPResponse.HTTPStatus LOCKED
-
FAILED_DEPENDENCY
public static final HTTPResponse.HTTPStatus FAILED_DEPENDENCY
-
UPGRADE_REQUIRED
public static final HTTPResponse.HTTPStatus UPGRADE_REQUIRED
-
PRECONDITION_REQUIRED
public static final HTTPResponse.HTTPStatus PRECONDITION_REQUIRED
-
TOO_MANY_REQUESTS
public static final HTTPResponse.HTTPStatus TOO_MANY_REQUESTS
-
REQUEST_HEADER_FIELDS_TOO_LARGE
public static final HTTPResponse.HTTPStatus REQUEST_HEADER_FIELDS_TOO_LARGE
-
CONNECTION_CLOSED_WITHOUT_RESPONSE
public static final HTTPResponse.HTTPStatus CONNECTION_CLOSED_WITHOUT_RESPONSE
-
UNAVAILABLE_FOR_LEGAL_REASONS
public static final HTTPResponse.HTTPStatus UNAVAILABLE_FOR_LEGAL_REASONS
-
CLIENT_CLOSED_REQUEST
public static final HTTPResponse.HTTPStatus CLIENT_CLOSED_REQUEST
-
INTERNAL_SERVER_ERROR
public static final HTTPResponse.HTTPStatus INTERNAL_SERVER_ERROR
-
NOT_IMPLEMENTED
public static final HTTPResponse.HTTPStatus NOT_IMPLEMENTED
-
BAD_GATEWAY
public static final HTTPResponse.HTTPStatus BAD_GATEWAY
-
SERVICE_UNAVAILABLE
public static final HTTPResponse.HTTPStatus SERVICE_UNAVAILABLE
-
GATEWAY_TIMEOUT
public static final HTTPResponse.HTTPStatus GATEWAY_TIMEOUT
-
HTTP_VERSION_NOT_SUPPORTED
public static final HTTPResponse.HTTPStatus HTTP_VERSION_NOT_SUPPORTED
-
VARIANT_ALSO_NEGOTIATES
public static final HTTPResponse.HTTPStatus VARIANT_ALSO_NEGOTIATES
-
INSUFFICIENT_STORAGE
public static final HTTPResponse.HTTPStatus INSUFFICIENT_STORAGE
-
LOOP_DETECTED
public static final HTTPResponse.HTTPStatus LOOP_DETECTED
-
NOT_EXTENDED
public static final HTTPResponse.HTTPStatus NOT_EXTENDED
-
NETWORK_AUTHENTICATION_REQUIRED
public static final HTTPResponse.HTTPStatus NETWORK_AUTHENTICATION_REQUIRED
-
NETWORK_CONNECT_TIMEOUT_ERROR
public static final HTTPResponse.HTTPStatus NETWORK_CONNECT_TIMEOUT_ERROR
-
-
Method Detail
-
values
public static HTTPResponse.HTTPStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HTTPResponse.HTTPStatus c : HTTPResponse.HTTPStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HTTPResponse.HTTPStatus 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
-
valueOf
public static HTTPResponse.HTTPStatus valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-