\google\appengine\ext\cloud_storage_streams\HttpResponse

FINAL

Declares well known HTTP response codes and associated error messages.

Constants

OK

CREATED

NO_CONTENT

PARTIAL_CONTENT

NOT_MODIFIED

RESUME_INCOMPLETE

BAD_REQUEST

UNAUTHORIZED

FORBIDDEN

NOT_FOUND

REQUEST_TIMEOUT

PRECONDITION_FAILED

RANGE_NOT_SATISFIABLE

INTERNAL_SERVER_ERROR

BAD_GATEWAY

SERVICE_UNAVAILABLE

GATEWAY_TIMEOUT

Methods

getStatusMessage

STATIC   

getStatusMessage(integer $code)

Get the status message string for a given HTTP response code.

Parameters

Name Description

$code

integer

The HTTP response code.