Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <httperr.h>

Class HTTPStatus

class HTTPStatus;

Description

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

Members

Defined in HTTPStatus:


Member functions


IsInformational(TInt)

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(TInt)

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(TInt)

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(TInt)

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(TInt)

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.