Class ITHit.WebDAV.Client.HttpStatus


class ITHit.WebDAV.Client.HttpStatus
Represents response status.
Defined in ITHitWebDAVClient.js

Property Summary
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.
The request could not be completed due to a conflict with the current state of the resource.
The request has been fulfilled and resulted in a new resource being created.
The method could not be performed on the resource because the requested action depended on another action and that action failed.
The server understood the request, but is refusing to fulfill it.
The method could not be performed on the resource because the server is unable to store the representation needed to successfully complete the request.
The source or destination resource of a method is locked.
The method specified in the Request-Line is not allowed for the resource identified by the Request-URI.
This status code provides status for multiple independent operations.
The server has fulfilled the request but does not need to return an entity-body, and might want to return updated metainformation.
No status defined.
The server has not found anything matching the Request-URI.
The server does not support the functionality required to fulfill the request.
The request has succeeded.
The server has fulfilled the partial GET request for the resource.
The precondition given in one or more of the request-header fields evaluated to false when it was tested on the server.
The request requires user authentication.

Constructor Summary
HttpStatus(Integer iCode, String sDescription)
Initializes a new instance of the HttpStatus structure with code and description specified.

Function Summary
Indicates whether the current HttpStatus structure is equal to another HttpStatus structure.
Boolean IsCopyMoveOk()
Returns true if status is successful for Copy or Move operation.
Boolean IsCreateOk()
Returns true if status is successful for Create operation.
Boolean IsDeleteOk()
Returns true if status is successful for Delete operation.
Boolean IsGetOk()
Returns true if status is successful for Get operation.
Boolean IsHeadOk()
Returns true if status is successful for Head operation.
Boolean IsOk()
Returns true if status is successful.
Boolean IsPutOk()
Returns true if status is successful for Put operation.
Boolean IsSuccess()
Returns true if status is successful.
Boolean IsUnlockOk()
Returns true if status is successful for Unlock operation.
Boolean IsUpdateOk()
Returns true if status is successful for Proppatch operation.

Property Details

property static 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.

property static ITHit.WebDAV.Client.HttpStatus Conflict

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

property static ITHit.WebDAV.Client.HttpStatus Created

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

property static 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.

property static ITHit.WebDAV.Client.HttpStatus Forbidden

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

property static 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.

property static ITHit.WebDAV.Client.HttpStatus Locked

The source or destination resource of a method is locked.

property static ITHit.WebDAV.Client.HttpStatus MethodNotAllowed

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

property static ITHit.WebDAV.Client.HttpStatus MultiStatus

This status code provides status for multiple independent operations.

property static 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 metainformation.

property static ITHit.WebDAV.Client.HttpStatus None

No status defined.

property static ITHit.WebDAV.Client.HttpStatus NotFound

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

property static ITHit.WebDAV.Client.HttpStatus NotImplemented

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

property static ITHit.WebDAV.Client.HttpStatus OK

The request has succeeded.

property static ITHit.WebDAV.Client.HttpStatus PartialContent

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

property static 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.

property static ITHit.WebDAV.Client.HttpStatus Unauthorized

The request requires user authentication.

Constructor Details

constructor HttpStatus

HttpStatus(Integer iCode, String sDescription)
Initializes a new instance of the HttpStatus structure with code and description specified.
Parameters:
iCode Code of the status.
sDescription Description of the status.

Function Details

function Equals

Boolean Equals(ITHit.WebDAV.Client.HttpStatus oHttpStatus)
Indicates whether the current HttpStatus structure is equal to another HttpStatus structure.
Parameters:
oHttpStatus HttpStatus object to compare.
Returns:
true if the current object is equal to the other parameter; otherwise, false.

function IsCopyMoveOk

Boolean IsCopyMoveOk()
Returns true if status is successful for Copy or Move operation.
Returns:
Returns true if status is successful for Copy or Move operation.

function IsCreateOk

Boolean IsCreateOk()
Returns true if status is successful for Create operation.
Returns:
Returns true if status is successful for Create operation.

function IsDeleteOk

Boolean IsDeleteOk()
Returns true if status is successful for Delete operation.
Returns:
Returns true if status is successful for Delete operation.

function IsGetOk

Boolean IsGetOk()
Returns true if status is successful for Get operation.
Returns:
Returns true if status is successful for Get operation.

function IsHeadOk

Boolean IsHeadOk()
Returns true if status is successful for Head operation.
Returns:
Returns true if status is successful for Head operation.

function IsOk

Boolean IsOk()
Returns true if status is successful.
Returns:
Returns true if status is successful.

function IsPutOk

Boolean IsPutOk()
Returns true if status is successful for Put operation.
Returns:
Returns true if status is successful for Put operation.

function IsSuccess

Boolean IsSuccess()
Returns true if status is successful.
Returns:
Returns true if status is successful.

function IsUnlockOk

Boolean IsUnlockOk()
Returns true if status is successful for Unlock operation.
Returns:
Returns true if status is successful for Unlock operation.

function IsUpdateOk

Boolean IsUpdateOk()
Returns true if status is successful for Proppatch operation.
Returns:
Returns true if status is successful for Proppatch operation.