Structure that describes HTTP response's status.
Members
-
static ITHit.WebDAV.Client.HttpStatus.BadGateway :ITHit.WebDAV.Client.HttpStatus
BadGateway -
The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.
-
static ITHit.WebDAV.Client.HttpStatus.BadRequest :ITHit.WebDAV.Client.HttpStatus
BadRequest -
The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.
-
static ITHit.WebDAV.Client.HttpStatus.Conflict :ITHit.WebDAV.Client.HttpStatus
Conflict -
The request could not be completed due to a conflict with the current state of the resource.
-
static ITHit.WebDAV.Client.HttpStatus.Created :ITHit.WebDAV.Client.HttpStatus
Created -
The request has been fulfilled and resulted in a new resource being created.
-
static ITHit.WebDAV.Client.HttpStatus.DependencyFailed :ITHit.WebDAV.Client.HttpStatus
DependencyFailed -
The method could not be performed on the resource because the requested action depended on another action and that action failed.
-
static ITHit.WebDAV.Client.HttpStatus.Forbidden :ITHit.WebDAV.Client.HttpStatus
Forbidden -
The server understood the request, but is refusing to fulfill it.
-
static ITHit.WebDAV.Client.HttpStatus.InsufficientStorage :ITHit.WebDAV.Client.HttpStatus
InsufficientStorage -
The method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request.
-
static ITHit.WebDAV.Client.HttpStatus.Locked :ITHit.WebDAV.Client.HttpStatus
Locked -
The source or destination resource of a method is locked.
-
static ITHit.WebDAV.Client.HttpStatus.MethodNotAllowed :ITHit.WebDAV.Client.HttpStatus
MethodNotAllowed -
The method specified in the Request-Line is not allowed for the resource identified by the Request-URI.
-
static ITHit.WebDAV.Client.HttpStatus.MultiStatus :ITHit.WebDAV.Client.HttpStatus
MultiStatus -
This status code provides status for multiple independent operations.
-
static ITHit.WebDAV.Client.HttpStatus.NoContent :ITHit.WebDAV.Client.HttpStatus
NoContent -
The server has fulfilled the request but does not need to return an entity-body, and might want to return updated meta information.
-
static ITHit.WebDAV.Client.HttpStatus.None :ITHit.WebDAV.Client.HttpStatus
None -
No status defined.
-
static ITHit.WebDAV.Client.HttpStatus.NotFound :ITHit.WebDAV.Client.HttpStatus
NotFound -
The server has not found anything matching the Request-URI.
-
static ITHit.WebDAV.Client.HttpStatus.NotImplemented :ITHit.WebDAV.Client.HttpStatus
NotImplemented -
The server does not support the functionality required to fulfill the request.
-
static ITHit.WebDAV.Client.HttpStatus.OK :ITHit.WebDAV.Client.HttpStatus
OK -
The request has succeeded.
-
static ITHit.WebDAV.Client.HttpStatus.PartialContent :ITHit.WebDAV.Client.HttpStatus
PartialContent -
The server has fulfilled the partial GET request for the resource.
-
static ITHit.WebDAV.Client.HttpStatus.PreconditionFailed :ITHit.WebDAV.Client.HttpStatus
PreconditionFailed -
The precondition given in one or more of the request-header fields evaluated to false when it was tested on the server.
-
static ITHit.WebDAV.Client.HttpStatus.Redirect :ITHit.WebDAV.Client.HttpStatus
Redirect -
This status code is used instead if 302 redirect. This is because 302 code is processed automatically and there is no way to process redirect to login page.
-
static ITHit.WebDAV.Client.HttpStatus.Unauthorized :ITHit.WebDAV.Client.HttpStatus
Unauthorized -
The request requires user authentication.
-
Code :number
Code -
-
Description :string
Description -
Methods
-
static ITHit.WebDAV.Client.HttpStatus.Parse(sStatus) → {ITHit.WebDAV.Client.HttpStatus}
Parse -
Parses HttpStatus structure from string containing status information.
Name Type Description sStatus
string String containing status information. Returns:
ITHit.WebDAV.Client.HttpStatus HttpStatus structure that describes current status. -
Equals(oHttpStatus) → {boolean}
Equals -
Indicates whether the current HttpStatus structure is equal to another HttpStatus structure.
Name Type Description oHttpStatus
ITHit.WebDAV.Client.HttpStatus HttpStatus object to compare. Returns:
boolean True if the current object is equal to the other parameter; otherwise, false. -
IsCopyMoveOk() → {boolean}
IsCopyMoveOk -
Returns true if status is successful for Copy or Move operation.
Returns:
boolean Returns true if status is successful for Copy or Move operation. -
IsCreateOk() → {boolean}
IsCreateOk -
Returns true if status is successful for Create operation.
Returns:
boolean Returns true if status is successful for Create operation. -
IsDeleteOk() → {boolean}
IsDeleteOk -
Returns true if status is successful for Delete operation.
Returns:
boolean Returns true if status is successful for Delete operation. -
IsGetOk() → {boolean}
IsGetOk -
Returns true if status is successful for Get operation.
Returns:
boolean Returns true if status is successful for Get operation. -
IsHeadOk() → {boolean}
IsHeadOk -
Returns true if status is successful for Head operation.
Returns:
boolean Returns true if status is successful for Head operation. -
IsOk() → {boolean}
IsOk -
Returns true if status is successful.
Returns:
boolean Returns true if status is successful. -
IsPutOk() → {boolean}
IsPutOk -
Returns true if status is successful for Put operation.
Returns:
boolean Returns true if status is successful for Put operation. -
IsSuccess() → {boolean}
IsSuccess -
Returns true if status is successful.
Returns:
boolean Returns true if status is successful. -
IsUnlockOk() → {boolean}
IsUnlockOk -
Returns true if status is successful for Unlock operation.
Returns:
boolean Returns true if status is successful for Unlock operation. -
IsUpdateOk() → {boolean}
IsUpdateOk -
Returns true if status is successful for Proppatch operation.
Returns:
boolean Returns true if status is successful for Proppatch operation.