class HTTPStatus
Support
Supported from 7.0
Description
The complete set of HTTP status codes, as defined in RFC2616.
Defined in HTTPStatus:
(anonymous), EAccepted, EBadGateway, EBadRequest, EConflict, EContinue, ECreated, EExpectationFailed, EForbidden, EFound, EGatewayTimeout, EGone, EHTTPVersionNotSupported, EInternalServerError, ELengthRequired, EMethodNotAllowed, EMovedPermanently, EMultipleChoices, ENoContent, ENonAuthoritativeInfo, ENotAcceptable, ENotFound, ENotImplemented, ENotModified, EOk, EPartialContent, EPaymentRequired, EPreconditionFailed, EProxyAuthenticationRequired, ERequestEntityTooLarge, ERequestTimeout, ERequestURITooLong, ERequestedRangeNotSatisfiable, EResetContent, ESeeOther, EServiceUnavailable, ESwitchingProtocols, ETemporaryRedirect, EUnauthorized, EUnsupportedMediaType, EUnused, EUseProxy, IsClientError(), IsInformational(), IsRedirection(), IsServerError(), IsSuccessful()
N/A
Description
Enumerates the HTTP status codes.
inline static TBool IsInformational(TInt aStatus);
Description
Tests if the specified status code is in the 1xx Informational range.
Parameters
Return value
TBool
|
ETrue if the specified status code is in the 1xx Informational range.
|
|
inline static TBool IsSuccessful(TInt aStatus);
Description
Tests if the specified status code is in the 2xx Successful range.
Parameters
Return value
TBool
|
ETrue if the specified status code is in the 2xx Successful range
|
|
inline static TBool IsRedirection(TInt aStatus);
Description
Tests if the specified status code is in the 3xx Redirection range.
Parameters
Return value
TBool
|
ETrue if the specified status code is in the 3xx Redirection range
|
|
inline static TBool IsClientError(TInt aStatus);
Description
Tests if the specified status code is in the 4xx Client Error range.
Parameters
Return value
TBool
|
ETrue if the specified status code is in the 4xx Client Error range
|
|
inline static TBool IsServerError(TInt aStatus);
Description
Tests if the specified status code is in the 5xx Server Error range.
Parameters
Return value
TBool
|
ETrue if the specified status code is in the 5xx Server Error range
|
|