Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: httperr.h

Class HTTPStatus

class HTTPStatus;

Description

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

Members

Defined in HTTPStatus:
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(), anonymous


Member functions


IsInformational()

static inline TBool IsInformational(TInt aStatus);

Description

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

Parameters

TInt aStatus

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

Return value

TBool

ETrue if the specified status code is in the 1xx Informational range. ##ModelId=3C4C18750162


IsSuccessful()

static inline TBool IsSuccessful(TInt aStatus);

Description

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

Parameters

TInt aStatus

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

Return value

TBool

ETrue if the specified status code is in the 2xx Successful range ##ModelId=3C4C18750160


IsRedirection()

static inline TBool IsRedirection(TInt aStatus);

Description

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

Parameters

TInt aStatus

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

Return value

TBool

ETrue if the specified status code is in the 3xx Redirection range. ##ModelId=3C4C18750159


IsClientError()

static inline TBool IsClientError(TInt aStatus);

Description

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

Parameters

TInt aStatus

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

Return value

TBool

ETrue if the specified status code is in the 4xx Client Error range. ##ModelId=3C4C18750157


IsServerError()

static inline TBool IsServerError(TInt aStatus);

Description

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

Parameters

TInt aStatus

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

Return value

TBool

ETrue if the specified status code is in the 5xx Server Error range. ##ModelId=3C4C18750155

[Top]


Member enumerations


Enum anonymous

n/a

Description

EContinue

Continue.

ESwitchingProtocols

Switching Protocols.

EOk

Ok.

ECreated

Created.

EAccepted

The entry has been accepted.

ENonAuthoritativeInfo

Non-Authoritative Information.

ENoContent

No Content.

EResetContent

Reset Content.

EPartialContent

Partial Content.

EMultipleChoices

Multiple Choices.

EMovedPermanently

Moved Permanently.

EFound

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

ESeeOther

See Other.

ENotModified

Not Modified.

EUseProxy

Use Proxy.

EUnused

Unused.

ETemporaryRedirect

Temporary Redirect.

EBadRequest

Bad Request.

EUnauthorized

Unauthorized.

EPaymentRequired

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

EForbidden

Forbidden.

ENotFound

Not Found.

EMethodNotAllowed

Method Not Allowed.

ENotAcceptable

Not Acceptable.

EProxyAuthenticationRequired

Proxy Authentication Required.

ERequestTimeout

Request Timeout.

EConflict

Conflict.

EGone

Gone.

ELengthRequired

Length Required.

EPreconditionFailed

Precondition Failed.

ERequestEntityTooLarge

Request Entity Too Large.

ERequestURITooLong

Request-URI Too Long.

EUnsupportedMediaType

Unsupported Media Type.

ERequestedRangeNotSatisfiable

Requested Range Not Satisfiable.

EExpectationFailed

Expectation Failed.

EInternalServerError

Internal Server Error.

ENotImplemented

Not Implemented.

EBadGateway

Bad Gateway.

EServiceUnavailable

Service Unavailable.

EGatewayTimeout

Gateway Timeout.

EHTTPVersionNotSupported

HTTP Version Not Supported.