The HttpStatus type exposes the following members.
Back to Top
Properties
Name | Description | |
---|---|---|
ACCEPTED |
202 Accepted
| |
AMBIGUOUS |
300 Multiple Choices
| |
BAD_GATEWAY |
502 Bad Gateway
| |
BAD_REQUEST |
400 Bad Request
| |
Code |
Gets the numeric code for this HttpStatus.
| |
CONFLICT |
409 Conflict
| |
CONTINUE |
100 Continue
| |
CREATED |
201 Created
| |
DENIED |
401 Unauthorized
| |
Description |
Gets the text that describes the status.
| |
FORBIDDEN |
403 Forbidden
| |
GATEWAY_TIMEOUT |
504 Gateway Timeout
| |
GONE |
410 Gone
| |
IsAuthenticationRequired |
Gets a value that indicates whether this HttpStatus represents a request from the server for the caller to authenticate themselves.
| |
IsError |
Gets a value that indicates whether this HttpStatus has a code of 400 or above
| |
IsFullfilled |
Gets a value that indicates whether the request has been generally satisfied.
| |
IsInformational |
Gets a value that indicates whether this HttpStatus has a code in the 100s.
| |
IsPossibleToCache |
Gets a value that indicates whether this HttpStatus could cause the state of the cache to change.
| |
IsRedirection |
Gets a value that indicates whether this HttpStatus has a code in the 300s.
| |
IsSuccess |
Gets a value that indicates whether this HttpStatus has a code in the 200s.
| |
IsValid |
Gets a value that indicates whether this HttpStatus represents a known standard response status.
| |
LENGTH_REQUIRED |
411 Length Required
| |
METHOD_NOT_ALLOWED |
405 Method Not Allowed
| |
MOVED_PERMANENTLY |
301 Moved Permanently
| |
Name |
Gets the recommended text that is to be displayed next to the numeric code at the top of the response.
| |
NO_CONTENT |
204 No Content
| |
NONAUTHORITATIVE_INFO |
203 Non-Authoritative Information
| |
NOT_ACCEPTABLE |
406 Not Acceptable
| |
NOT_FOUND |
404 Not Found
| |
NOT_MODIFIED |
304 Not Modified
| |
NOT_SET |
No HTTP status code was received from the server.
| |
NOT_SUPPORTED |
501 Not Implemented
| |
OK |
200 OK
| |
PARTIAL_CONTENT |
206 Partial Content
| |
PAYMENT_REQUIRED |
402 Payment Required
| |
PRECOND_FAILED |
412 Precondition Failed
| |
PROXY_AUTH_REQUIRED |
407 Proxy Authentication Required
| |
REDIRECT |
302 Found
| |
REDIRECT_KEEP_VERB |
307 Temporary Redirect
| |
REDIRECT_METHOD |
303 See Other
| |
REQUEST_TIMEOUT |
408 Request Timeout
| |
REQUEST_TOO_LARGE |
413 Request Entity Too Large
| |
RESET_CONTENT |
205 Reset Content
| |
RETRY_WITH |
449 Retry With
| |
SERVER_ERROR |
500 Internal Server Error
| |
SERVICE_UNAVAILABLE |
503 Service Unavailable
| |
SWITCH_PROTOCOLS |
101 Switching Protocols
| |
UNSUPPORTED_MEDIA |
415 Unsupported Media Type
| |
URI_TOO_LONG |
414 Request-URI Too Long
| |
USE_PROXY |
305 Use Proxy
| |
VERSION_NOT_SUPPORTED |
505 HTTP Version Not Supported
|
See Also