__toString()
contentSent()
fromString()
getBody()
getContent()
getCookie()
getHeaders()
getMetadata()
getReasonPhrase()
getStatusCode()
getVersion()
headersSent()
isClientError()
isForbidden()
isInformational()
isNotFound()
isOk()
isRedirect()
isServerError()
isSuccess()
renderStatusLine()
send()
sendContent()
sendHeaders()
setContent()
setCustomStatusCode()
setHeaders()
setMetadata()
setReasonPhrase()
setStatusCode()
setVersion()
toString()
decodeChunkedBody()
decodeDeflate()
decodeGzip()
detectVersion()
saveStatusCode()
$content
$contentSent
$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 for current PHP environment
__toString() : string
inherited_from | \Zend\Http\AbstractMessage::__toString() |
---|---|
inherited_from | \Zend\Http\Response::__toString() |
string
contentSent() : bool
bool
fromString(string $string) : \Zend\Http\self
inherited_from | \Zend\Http\Response::fromString() |
---|
string
\Zend\Http\Exception\InvalidArgumentException |
---|
\Zend\Http\self
getBody() : string
inherited_from | \Zend\Http\Response::getBody() |
---|
string
getContent() : mixed
inherited_from | \Zend\Stdlib\Message::getContent() |
---|---|
inherited_from | \Zend\Http\AbstractMessage::getContent() |
inherited_from | \Zend\Http\Response::getContent() |
mixed
getHeaders() : \Zend\Http\Headers
inherited_from | \Zend\Http\AbstractMessage::getHeaders() |
---|---|
inherited_from | \Zend\Http\Response::getHeaders() |
getMetadata(null | string | int $key, null | mixed $default) : mixed
inherited_from | \Zend\Stdlib\Message::getMetadata() |
---|---|
inherited_from | \Zend\Http\AbstractMessage::getMetadata() |
inherited_from | \Zend\Http\Response::getMetadata() |
nullstringint
nullmixed
\Zend\Stdlib\Exception\InvalidArgumentException |
---|
mixed
getReasonPhrase() : string
inherited_from | \Zend\Http\Response::getReasonPhrase() |
---|
string
getStatusCode() : int
inherited_from | \Zend\Http\Response::getStatusCode() |
---|
int
getVersion() : string
see | \Zend\Http\AbstractMessage::getVersion() |
---|
string
headersSent() : bool
bool
isClientError() : bool
inherited_from | \Zend\Http\Response::isClientError() |
---|
bool
isForbidden() : bool
inherited_from | \Zend\Http\Response::isForbidden() |
---|
bool
isInformational() : bool
inherited_from | \Zend\Http\Response::isInformational() |
---|
bool
isNotFound() : bool
inherited_from | \Zend\Http\Response::isNotFound() |
---|
bool
isOk() : bool
inherited_from | \Zend\Http\Response::isOk() |
---|
bool
isRedirect() : bool
inherited_from | \Zend\Http\Response::isRedirect() |
---|
bool
isServerError() : bool
inherited_from | \Zend\Http\Response::isServerError() |
---|
bool
isSuccess() : bool
inherited_from | \Zend\Http\Response::isSuccess() |
---|
bool
renderStatusLine() : string
inherited_from | \Zend\Http\Response::renderStatusLine() |
---|
string
send() : \Zend\Http\PhpEnvironment\Response
sendContent() : \Zend\Http\PhpEnvironment\Response
sendHeaders() : \Zend\Http\PhpEnvironment\Response
setContent(mixed $value) : \Zend\Stdlib\Message
inherited_from | \Zend\Stdlib\Message::setContent() |
---|---|
inherited_from | \Zend\Http\AbstractMessage::setContent() |
inherited_from | \Zend\Http\Response::setContent() |
mixed
setCustomStatusCode(int $code) : \Zend\Http\self
inherited_from | \Zend\Http\Response::setCustomStatusCode() |
---|
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() |
inherited_from | \Zend\Http\Response::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() |
inherited_from | \Zend\Http\Response::setMetadata() |
stringintarray\Traversable
mixed
\Zend\Stdlib\Exception\InvalidArgumentException |
---|
setReasonPhrase(string $reasonPhrase) : \Zend\Http\self
inherited_from | \Zend\Http\Response::setReasonPhrase() |
---|
string
\Zend\Http\self
setStatusCode(int $code) : \Zend\Http\self
inherited_from | \Zend\Http\Response::setStatusCode() |
---|
int
\Zend\Http\Exception\InvalidArgumentException |
---|
\Zend\Http\self
setVersion(string $version) : \Zend\Http\AbstractMessage
inherited_from | \Zend\Http\AbstractMessage::setVersion() |
---|---|
inherited_from | \Zend\Http\Response::setVersion() |
string
(Must be 1.0 or 1.1)
\Zend\Http\Exception\InvalidArgumentException |
---|
toString() : string
inherited_from | \Zend\Http\Response::toString() |
---|
string
decodeChunkedBody(string $body) : string
inherited_from | \Zend\Http\Response::decodeChunkedBody() |
---|
string
\Zend\Http\Exception\RuntimeException |
---|
string
decodeDeflate(string $body) : string
Currently requires PHP with zlib support
inherited_from | \Zend\Http\Response::decodeDeflate() |
---|
string
\Zend\Http\Exception\RuntimeException |
---|
string
decodeGzip(string $body) : string
Currently requires PHP with zlib support
inherited_from | \Zend\Http\Response::decodeGzip() |
---|
string
\Zend\Http\Exception\RuntimeException |
---|
string
detectVersion() : string
If detection failed it falls back to version 1.0.
string
saveStatusCode(int $code) : \Zend\Http\self
inherited_from | \Zend\Http\Response::saveStatusCode() |
---|
int
\Zend\Http\self
$content : string
inherited_from | \Zend\Stdlib\Message::$$content |
---|---|
inherited_from | \Zend\Http\AbstractMessage::$$content |
inherited_from | \Zend\Http\Response::$$content |
$contentSent : bool
$headers : \Zend\Http\Headers | null
inherited_from | \Zend\Http\AbstractMessage::$$headers |
---|---|
inherited_from | \Zend\Http\Response::$$headers |
$reasonPhrase : string | null
inherited_from | \Zend\Http\Response::$$reasonPhrase |
---|
$recommendedReasonPhrases : array
inherited_from | \Zend\Http\Response::$$recommendedReasonPhrases |
---|
$statusCode : int
inherited_from | \Zend\Http\Response::$$statusCode |
---|
$version : null | string
STATUS_CODE_100
inherited_from | \Zend\Http\Response::STATUS_CODE_100 |
---|
STATUS_CODE_101
inherited_from | \Zend\Http\Response::STATUS_CODE_101 |
---|
STATUS_CODE_102
inherited_from | \Zend\Http\Response::STATUS_CODE_102 |
---|
STATUS_CODE_200
inherited_from | \Zend\Http\Response::STATUS_CODE_200 |
---|
STATUS_CODE_201
inherited_from | \Zend\Http\Response::STATUS_CODE_201 |
---|
STATUS_CODE_202
inherited_from | \Zend\Http\Response::STATUS_CODE_202 |
---|
STATUS_CODE_203
inherited_from | \Zend\Http\Response::STATUS_CODE_203 |
---|
STATUS_CODE_204
inherited_from | \Zend\Http\Response::STATUS_CODE_204 |
---|
STATUS_CODE_205
inherited_from | \Zend\Http\Response::STATUS_CODE_205 |
---|
STATUS_CODE_206
inherited_from | \Zend\Http\Response::STATUS_CODE_206 |
---|
STATUS_CODE_207
inherited_from | \Zend\Http\Response::STATUS_CODE_207 |
---|
STATUS_CODE_208
inherited_from | \Zend\Http\Response::STATUS_CODE_208 |
---|
STATUS_CODE_300
inherited_from | \Zend\Http\Response::STATUS_CODE_300 |
---|
STATUS_CODE_301
inherited_from | \Zend\Http\Response::STATUS_CODE_301 |
---|
STATUS_CODE_302
inherited_from | \Zend\Http\Response::STATUS_CODE_302 |
---|
STATUS_CODE_303
inherited_from | \Zend\Http\Response::STATUS_CODE_303 |
---|
STATUS_CODE_304
inherited_from | \Zend\Http\Response::STATUS_CODE_304 |
---|
STATUS_CODE_305
inherited_from | \Zend\Http\Response::STATUS_CODE_305 |
---|
STATUS_CODE_306
inherited_from | \Zend\Http\Response::STATUS_CODE_306 |
---|
STATUS_CODE_307
inherited_from | \Zend\Http\Response::STATUS_CODE_307 |
---|
STATUS_CODE_400
inherited_from | \Zend\Http\Response::STATUS_CODE_400 |
---|
STATUS_CODE_401
inherited_from | \Zend\Http\Response::STATUS_CODE_401 |
---|
STATUS_CODE_402
inherited_from | \Zend\Http\Response::STATUS_CODE_402 |
---|
STATUS_CODE_403
inherited_from | \Zend\Http\Response::STATUS_CODE_403 |
---|
STATUS_CODE_404
inherited_from | \Zend\Http\Response::STATUS_CODE_404 |
---|
STATUS_CODE_405
inherited_from | \Zend\Http\Response::STATUS_CODE_405 |
---|
STATUS_CODE_406
inherited_from | \Zend\Http\Response::STATUS_CODE_406 |
---|
STATUS_CODE_407
inherited_from | \Zend\Http\Response::STATUS_CODE_407 |
---|
STATUS_CODE_408
inherited_from | \Zend\Http\Response::STATUS_CODE_408 |
---|
STATUS_CODE_409
inherited_from | \Zend\Http\Response::STATUS_CODE_409 |
---|
STATUS_CODE_410
inherited_from | \Zend\Http\Response::STATUS_CODE_410 |
---|
STATUS_CODE_411
inherited_from | \Zend\Http\Response::STATUS_CODE_411 |
---|
STATUS_CODE_412
inherited_from | \Zend\Http\Response::STATUS_CODE_412 |
---|
STATUS_CODE_413
inherited_from | \Zend\Http\Response::STATUS_CODE_413 |
---|
STATUS_CODE_414
inherited_from | \Zend\Http\Response::STATUS_CODE_414 |
---|
STATUS_CODE_415
inherited_from | \Zend\Http\Response::STATUS_CODE_415 |
---|
STATUS_CODE_416
inherited_from | \Zend\Http\Response::STATUS_CODE_416 |
---|
STATUS_CODE_417
inherited_from | \Zend\Http\Response::STATUS_CODE_417 |
---|
STATUS_CODE_418
inherited_from | \Zend\Http\Response::STATUS_CODE_418 |
---|
STATUS_CODE_422
inherited_from | \Zend\Http\Response::STATUS_CODE_422 |
---|
STATUS_CODE_423
inherited_from | \Zend\Http\Response::STATUS_CODE_423 |
---|
STATUS_CODE_424
inherited_from | \Zend\Http\Response::STATUS_CODE_424 |
---|
STATUS_CODE_425
inherited_from | \Zend\Http\Response::STATUS_CODE_425 |
---|
STATUS_CODE_426
inherited_from | \Zend\Http\Response::STATUS_CODE_426 |
---|
STATUS_CODE_428
inherited_from | \Zend\Http\Response::STATUS_CODE_428 |
---|
STATUS_CODE_429
inherited_from | \Zend\Http\Response::STATUS_CODE_429 |
---|
STATUS_CODE_431
inherited_from | \Zend\Http\Response::STATUS_CODE_431 |
---|
STATUS_CODE_500
inherited_from | \Zend\Http\Response::STATUS_CODE_500 |
---|
STATUS_CODE_501
inherited_from | \Zend\Http\Response::STATUS_CODE_501 |
---|
STATUS_CODE_502
inherited_from | \Zend\Http\Response::STATUS_CODE_502 |
---|
STATUS_CODE_503
inherited_from | \Zend\Http\Response::STATUS_CODE_503 |
---|
STATUS_CODE_504
inherited_from | \Zend\Http\Response::STATUS_CODE_504 |
---|
STATUS_CODE_505
inherited_from | \Zend\Http\Response::STATUS_CODE_505 |
---|
STATUS_CODE_506
inherited_from | \Zend\Http\Response::STATUS_CODE_506 |
---|
STATUS_CODE_507
inherited_from | \Zend\Http\Response::STATUS_CODE_507 |
---|
STATUS_CODE_508
inherited_from | \Zend\Http\Response::STATUS_CODE_508 |
---|
STATUS_CODE_511
inherited_from | \Zend\Http\Response::STATUS_CODE_511 |
---|
STATUS_CODE_CUSTOM
inherited_from | \Zend\Http\Response::STATUS_CODE_CUSTOM |
---|
VERSION_10
inherited_from | \Zend\Http\AbstractMessage::VERSION_10 |
---|---|
inherited_from | \Zend\Http\Response::VERSION_10 |
VERSION_11
inherited_from | \Zend\Http\AbstractMessage::VERSION_11 |
---|---|
inherited_from | \Zend\Http\Response::VERSION_11 |