__toString()
fromString()
getBody()
getContent()
getCookie()
getHeaders()
getMetadata()
getReasonPhrase()
getStatusCode()
getVersion()
isClientError()
isForbidden()
isInformational()
isNotFound()
isOk()
isRedirect()
isServerError()
isSuccess()
renderStatusLine()
setContent()
setCustomStatusCode()
setHeaders()
setMetadata()
setReasonPhrase()
setStatusCode()
setVersion()
toString()
decodeChunkedBody()
decodeDeflate()
decodeGzip()
saveStatusCode()
$content
$headers
$metadata
$reasonPhrase
$recommendedReasonPhrases
$statusCode
$version
STATUS_CODE_100
STATUS_CODE_101
STATUS_CODE_102
STATUS_CODE_200
STATUS_CODE_201
STATUS_CODE_202
STATUS_CODE_203
STATUS_CODE_204
STATUS_CODE_205
STATUS_CODE_206
STATUS_CODE_207
STATUS_CODE_208
STATUS_CODE_300
STATUS_CODE_301
STATUS_CODE_302
STATUS_CODE_303
STATUS_CODE_304
STATUS_CODE_305
STATUS_CODE_306
STATUS_CODE_307
STATUS_CODE_400
STATUS_CODE_401
STATUS_CODE_402
STATUS_CODE_403
STATUS_CODE_404
STATUS_CODE_405
STATUS_CODE_406
STATUS_CODE_407
STATUS_CODE_408
STATUS_CODE_409
STATUS_CODE_410
STATUS_CODE_411
STATUS_CODE_412
STATUS_CODE_413
STATUS_CODE_414
STATUS_CODE_415
STATUS_CODE_416
STATUS_CODE_417
STATUS_CODE_418
STATUS_CODE_422
STATUS_CODE_423
STATUS_CODE_424
STATUS_CODE_425
STATUS_CODE_426
STATUS_CODE_428
STATUS_CODE_429
STATUS_CODE_431
STATUS_CODE_500
STATUS_CODE_501
STATUS_CODE_502
STATUS_CODE_503
STATUS_CODE_504
STATUS_CODE_505
STATUS_CODE_506
STATUS_CODE_507
STATUS_CODE_508
STATUS_CODE_511
STATUS_CODE_CUSTOM
VERSION_10
VERSION_11
HTTP Response
link | http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6 |
---|
__toString() : string
inherited_from | \Zend\Http\AbstractMessage::__toString() |
---|
string
fromString(string $string) : \Zend\Http\self
string
\Zend\Http\Exception\InvalidArgumentException |
---|
\Zend\Http\self
getBody() : string
string
getContent() : mixed
inherited_from | \Zend\Stdlib\Message::getContent() |
---|---|
inherited_from | \Zend\Http\AbstractMessage::getContent() |
mixed
getMetadata(null | string | int $key, null | mixed $default) : mixed
inherited_from | \Zend\Stdlib\Message::getMetadata() |
---|---|
inherited_from | \Zend\Http\AbstractMessage::getMetadata() |
nullstringint
nullmixed
\Zend\Stdlib\Exception\InvalidArgumentException |
---|
mixed
getReasonPhrase() : string
string
getStatusCode() : int
int
getVersion() : string
inherited_from | \Zend\Http\AbstractMessage::getVersion() |
---|
string
isClientError() : bool
bool
isForbidden() : bool
bool
isInformational() : bool
bool
isNotFound() : bool
bool
isOk() : bool
bool
isRedirect() : bool
bool
isServerError() : bool
bool
isSuccess() : bool
bool
renderStatusLine() : string
string
setContent(mixed $value) : \Zend\Stdlib\Message
inherited_from | \Zend\Stdlib\Message::setContent() |
---|---|
inherited_from | \Zend\Http\AbstractMessage::setContent() |
mixed
setCustomStatusCode(int $code) : \Zend\Http\self
int
\Zend\Http\Exception\InvalidArgumentException |
---|
\Zend\Http\self
setHeaders(\Zend\Http\Headers $headers) : \Zend\Http\AbstractMessage
see | \Zend\Http\getHeaders() |
---|---|
inherited_from | \Zend\Http\AbstractMessage::setHeaders() |
\Zend\Http\Headers
setMetadata(string | int | array | \Traversable $spec, mixed $value) : \Zend\Stdlib\Message
Non-destructive setting of message metadata; always adds to the metadata, never overwrites the entire metadata container.
inherited_from | \Zend\Stdlib\Message::setMetadata() |
---|---|
inherited_from | \Zend\Http\AbstractMessage::setMetadata() |
stringintarray\Traversable
mixed
\Zend\Stdlib\Exception\InvalidArgumentException |
---|
setReasonPhrase(string $reasonPhrase) : \Zend\Http\self
string
\Zend\Http\self
setStatusCode(int $code) : \Zend\Http\self
int
\Zend\Http\Exception\InvalidArgumentException |
---|
\Zend\Http\self
setVersion(string $version) : \Zend\Http\AbstractMessage
inherited_from | \Zend\Http\AbstractMessage::setVersion() |
---|
string
(Must be 1.0 or 1.1)
\Zend\Http\Exception\InvalidArgumentException |
---|
toString() : string
string
decodeChunkedBody(string $body) : string
decodeDeflate(string $body) : string
Currently requires PHP with zlib support
string
\Zend\Http\Exception\RuntimeException |
---|
string
decodeGzip(string $body) : string
Currently requires PHP with zlib support
string
\Zend\Http\Exception\RuntimeException |
---|
string
saveStatusCode(int $code) : \Zend\Http\self
int
\Zend\Http\self
$content : string
inherited_from | \Zend\Stdlib\Message::$$content |
---|---|
inherited_from | \Zend\Http\AbstractMessage::$$content |
$headers : \Zend\Http\Headers | null
inherited_from | \Zend\Http\AbstractMessage::$$headers |
---|
$reasonPhrase : string | null
$recommendedReasonPhrases : array
$statusCode : int
$version : string
inherited_from | \Zend\Http\AbstractMessage::$$version |
---|
STATUS_CODE_100
STATUS_CODE_101
STATUS_CODE_102
STATUS_CODE_200
STATUS_CODE_201
STATUS_CODE_202
STATUS_CODE_203
STATUS_CODE_204
STATUS_CODE_205
STATUS_CODE_206
STATUS_CODE_207
STATUS_CODE_208
STATUS_CODE_300
STATUS_CODE_301
STATUS_CODE_302
STATUS_CODE_303
STATUS_CODE_304
STATUS_CODE_305
STATUS_CODE_306
STATUS_CODE_307
STATUS_CODE_400
STATUS_CODE_401
STATUS_CODE_402
STATUS_CODE_403
STATUS_CODE_404
STATUS_CODE_405
STATUS_CODE_406
STATUS_CODE_407
STATUS_CODE_408
STATUS_CODE_409
STATUS_CODE_410
STATUS_CODE_411
STATUS_CODE_412
STATUS_CODE_413
STATUS_CODE_414
STATUS_CODE_415
STATUS_CODE_416
STATUS_CODE_417
STATUS_CODE_418
STATUS_CODE_422
STATUS_CODE_423
STATUS_CODE_424
STATUS_CODE_425
STATUS_CODE_426
STATUS_CODE_428
STATUS_CODE_429
STATUS_CODE_431
STATUS_CODE_500
STATUS_CODE_501
STATUS_CODE_502
STATUS_CODE_503
STATUS_CODE_504
STATUS_CODE_505
STATUS_CODE_506
STATUS_CODE_507
STATUS_CODE_508
STATUS_CODE_511
STATUS_CODE_CUSTOM
VERSION_10
inherited_from | \Zend\Http\AbstractMessage::VERSION_10 |
---|
VERSION_11
inherited_from | \Zend\Http\AbstractMessage::VERSION_11 |
---|