HTTPStatus Class Reference

#include <mw/httperr.h>

class HTTPStatus

Detailed Description

The complete set of HTTP Status codes, as defined in RFC2616.

Member Enumeration Documentation

Enum anonymous

EnumeratorValueDescription
EContinue100

'Informational' range of codes 1xx Continue.

ESwitchingProtocols101

Switching Protocols.

EOk200

'Successful' range of codes 2xx Ok.

ECreated201

Created.

EAccepted202

The entry has been accepted.

ENonAuthoritativeInfo203

Non-Authoritative Information.

ENoContent204

No Content.

EResetContent205

Reset Content.

EPartialContent206

Partial Content.

EMultipleChoices300

'Redirection' range of codes 3xx Multiple Choices.

EMovedPermanently301

Moved Permanently.

EFound302

Found. Note, this is deprecated in HTTP/1.1 - 307 will be used instead

ESeeOther303

See Other.

ENotModified304

Not Modified.

EUseProxy305

Use Proxy.

EUnused306

Unused.

ETemporaryRedirect307

Temporary Redirect.

EBadRequest400

'Client Error' range of codes 4xx Bad Request.

EUnauthorized401

Unauthorized.

EPaymentRequired402

Payment Required. Note, this is reserved in HTTP/1.1

EForbidden403

Forbidden.

ENotFound404

Not Found.

EMethodNotAllowed405

Method Not Allowed.

ENotAcceptable406

Not Acceptable.

EProxyAuthenticationRequired407

Proxy Authentication Required.

ERequestTimeout408

Request Timeout.

EConflict409

Conflict.

EGone410

Gone.

ELengthRequired411

Length Required.

EPreconditionFailed412

Precondition Failed.

ERequestEntityTooLarge413

Request Entity Too Large.

ERequestURITooLong414

Request-URI Too Long.

EUnsupportedMediaType415

Unsupported Media Type.

ERequestedRangeNotSatisfiable416

Requested Range Not Satisfiable.

EExpectationFailed417

Expectation Failed.

EInternalServerError500

'Server Error' range of codes 5xx Internal Server Error.

ENotImplemented501

Not Implemented.

EBadGateway502

Bad Gateway.

EServiceUnavailable503

Service Unavailable.

EGatewayTimeout504

Gateway Timeout.

EHTTPVersionNotSupported505

HTTP Version Not Supported.

Member Function Documentation

IsClientError ( TInt )

TBool IsClientError(TIntaStatus)[static, inline]

Is the supplied status code in the 4xx Client Error range?

Parameters
aStatusIs the supplied status code in the 4xx Client Error range?
Return Value
ETrue if the specified status code is in the 4xx Client Error range. ##ModelId=3C4C18750157

IsInformational ( TInt )

TBool IsInformational(TIntaStatus)[static, inline]

Is the supplied status code in the 1xx Informational range?

Parameters
aStatusIs the supplied status code in the 1xx Informational range?
Return Value
ETrue if the specified status code is in the 1xx Informational range. ##ModelId=3C4C18750162

IsRedirection ( TInt )

TBool IsRedirection(TIntaStatus)[static, inline]

Is the supplied status code in the 3xx Redirection range?

Parameters
aStatusIs the supplied status code in the 3xx Redirection range?
Return Value
ETrue if the specified status code is in the 3xx Redirection range. ##ModelId=3C4C18750159

IsServerError ( TInt )

TBool IsServerError(TIntaStatus)[static, inline]

Is the supplied status code in the 5xx Server Error range?

Parameters
aStatusIs the supplied status code in the 5xx Server Error range?
Return Value
ETrue if the specified status code is in the 5xx Server Error range. ##ModelId=3C4C18750155

IsSuccessful ( TInt )

TBool IsSuccessful(TIntaStatus)[static, inline]

Is the supplied status code in the 2xx Successful range?

Parameters
aStatusIs the supplied status code in the 2xx Successful range?
Return Value
ETrue if the specified status code is in the 2xx Successful range ##ModelId=3C4C18750160