The HttpStatus type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
HttpStatus |
For internal use only. Of no interest to the user.
|
Methods
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the HttpStatus | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Find(Int32) |
Finds the HttpStatus with the specified code.
| |
Find(String) |
Finds the HttpStatus with the specified code.
| |
getCPtr |
For internal use only. Of no interest to the user.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsInRange |
Determines whether this HttpStatus is ordered between the specified pair of HttpStatus objects.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Returns a string that represents the current object.
(Overrides Object ToString .) |
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