Class: HttpStatus

HttpStatus Class

Namespace

ITHit.WebDAV.Client

Structure that describes HTTP response's status.

Members

staticITHit.WebDAV.Client.HttpStatus.BadGatewayITHit.WebDAV.Client.HttpStatus

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.

staticITHit.WebDAV.Client.HttpStatus.BadRequestITHit.WebDAV.Client.HttpStatus

The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.

staticITHit.WebDAV.Client.HttpStatus.ConflictITHit.WebDAV.Client.HttpStatus

The request could not be completed due to a conflict with the current state of the resource.

staticITHit.WebDAV.Client.HttpStatus.CreatedITHit.WebDAV.Client.HttpStatus

The request has been fulfilled and resulted in a new resource being created.

staticITHit.WebDAV.Client.HttpStatus.DependencyFailedITHit.WebDAV.Client.HttpStatus

The method could not be performed on the resource because the requested action depended on another action and that action failed.

staticITHit.WebDAV.Client.HttpStatus.ForbiddenITHit.WebDAV.Client.HttpStatus

The server understood the request, but is refusing to fulfill it.

staticITHit.WebDAV.Client.HttpStatus.InsufficientStorageITHit.WebDAV.Client.HttpStatus

The method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request.

staticITHit.WebDAV.Client.HttpStatus.LockedITHit.WebDAV.Client.HttpStatus

The source or destination resource of a method is locked.

staticITHit.WebDAV.Client.HttpStatus.MethodNotAllowedITHit.WebDAV.Client.HttpStatus

The method specified in the Request-Line is not allowed for the resource identified by the Request-URI.

staticITHit.WebDAV.Client.HttpStatus.MultiStatusITHit.WebDAV.Client.HttpStatus

This status code provides status for multiple independent operations.

staticITHit.WebDAV.Client.HttpStatus.NoContentITHit.WebDAV.Client.HttpStatus

The server has fulfilled the request but does not need to return an entity-body, and might want to return updated meta information.

staticITHit.WebDAV.Client.HttpStatus.NoneITHit.WebDAV.Client.HttpStatus

No status defined.

staticITHit.WebDAV.Client.HttpStatus.NotFoundITHit.WebDAV.Client.HttpStatus

The server has not found anything matching the Request-URI.

staticITHit.WebDAV.Client.HttpStatus.NotImplementedITHit.WebDAV.Client.HttpStatus

The server does not support the functionality required to fulfill the request.

staticITHit.WebDAV.Client.HttpStatus.OKITHit.WebDAV.Client.HttpStatus

The request has succeeded.

staticITHit.WebDAV.Client.HttpStatus.PartialContentITHit.WebDAV.Client.HttpStatus

The server has fulfilled the partial GET request for the resource.

staticITHit.WebDAV.Client.HttpStatus.PreconditionFailedITHit.WebDAV.Client.HttpStatus

The precondition given in one or more of the request-header fields evaluated to false when it was tested on the server.

staticITHit.WebDAV.Client.HttpStatus.RedirectITHit.WebDAV.Client.HttpStatus

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.

staticITHit.WebDAV.Client.HttpStatus.UnauthorizedITHit.WebDAV.Client.HttpStatus

The request requires user authentication.

Methods

staticITHit.WebDAV.Client.HttpStatus.Parse(sStatus){ITHit.WebDAV.Client.HttpStatus}

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}

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}

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}

Returns true if status is successful for Create operation.
Returns:
boolean Returns true if status is successful for Create operation.

IsDeleteOk(){boolean}

Returns true if status is successful for Delete operation.
Returns:
boolean Returns true if status is successful for Delete operation.

IsGetOk(){boolean}

Returns true if status is successful for Get operation.
Returns:
boolean Returns true if status is successful for Get operation.

IsHeadOk(){boolean}

Returns true if status is successful for Head operation.
Returns:
boolean Returns true if status is successful for Head operation.

IsOk(){boolean}

Returns true if status is successful.
Returns:
boolean Returns true if status is successful.

IsPutOk(){boolean}

Returns true if status is successful for Put operation.
Returns:
boolean Returns true if status is successful for Put operation.

IsSuccess(){boolean}

Returns true if status is successful.
Returns:
boolean Returns true if status is successful.

IsUnlockOk(){boolean}

Returns true if status is successful for Unlock operation.
Returns:
boolean Returns true if status is successful for Unlock operation.

IsUpdateOk(){boolean}

Returns true if status is successful for Proppatch operation.
Returns:
boolean Returns true if status is successful for Proppatch operation.