HttpStatus Enum
- java.
lang. Object - java.
lang. Enum - com.
microsoft. azure. functions. HttpStatus
- com.
- java.
public enum HttpStatus
extends java.lang.Enum<HttpStatus>
implements HttpStatusType
Enum to represent HTTP Status codes. This enum lists all standard HTTP 1.1 status lines. For custom codes, please refer to custom(int code).
Implements
Fields
ACCEPTED | |
ALREADY_REPORTED | |
BAD_GATEWAY | |
BAD_REQUEST | |
BANDWIDTH_LIMIT_EXCEEDED | |
CHECKPOINT | |
CONFLICT | |
CONTINUE | |
CREATED | |
EXPECTATION_FAILED | |
FAILED_DEPENDENCY | |
FORBIDDEN | |
FOUND | |
GATEWAY_TIMEOUT | |
GONE | |
HTTP_VERSION_NOT_SUPPORTED | |
IM_USED | |
INSUFFICIENT_STORAGE | |
INTERNAL_SERVER_ERROR | |
I_AM_A_TEAPOT | |
LENGTH_REQUIRED | |
LOCKED | |
LOOP_DETECTED | |
METHOD_NOT_ALLOWED | |
MOVED_PERMANENTLY | |
MULTIPLE_CHOICES | |
MULTI_STATUS | |
NETWORK_AUTHENTICATION_REQUIRED | |
NON_AUTHORITATIVE_INFORMATION | |
NOT_ACCEPTABLE | |
NOT_EXTENDED | |
NOT_FOUND | |
NOT_IMPLEMENTED | |
NOT_MODIFIED | |
NO_CONTENT | |
OK | |
PARTIAL_CONTENT | |
PAYLOAD_TOO_LARGE | |
PAYMENT_REQUIRED | |
PERMANENT_REDIRECT | |
PRECONDITION_FAILED | |
PRECONDITION_REQUIRED | |
PROCESSING | |
PROXY_AUTHENTICATION_REQUIRED | |
REQUESTED_RANGE_NOT_SATISFIABLE | |
REQUEST_HEADER_FIELDS_TOO_LARGE | |
REQUEST_TIMEOUT | |
RESET_CONTENT | |
SEE_OTHER | |
SERVICE_UNAVAILABLE | |
SWITCHING_PROTOCOLS | |
TEMPORARY_REDIRECT | |
TOO_MANY_REQUESTS | |
UNAUTHORIZED | |
UNAVAILABLE_FOR_LEGAL_REASONS | |
UNPROCESSABLE_ENTITY | |
UNSUPPORTED_MEDIA_TYPE | |
UPGRADE_REQUIRED | |
URI_TOO_LONG | |
VARIANT_ALSO_NEGOTIATES |
Methods inherited from java.lang.Enum
java.lang.Enum.<T>valueOf
java.lang.Enum.clone
java.lang.Enum.compareTo
java.lang.Enum.describeConstable
java.lang.Enum.equals
java.lang.Enum.finalize
java.lang.Enum.getDeclaringClass
java.lang.Enum.hashCode
java.lang.Enum.name
java.lang.Enum.ordinal
java.lang.Enum.toString
Methods inherited from java.lang.Object
java.lang.Object.getClass
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Methods
value()
public int value()
Returns the code of this HTTPStatus enum.
Returns
int
int value for this http status
valueOf(int value)
public static HttpStatus valueOf(int value)
Maps an int code to a standard HTTP status code.
Parameters
- value
- int
Returns
HttpStatus enum
valueOf(String name)
values()
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for Java