MediaWiki REL1_40
|
Inherits ResponseInterface.
Public Member Functions | |
__construct (MWHttpRequest $mwHttpRequest) | |
getBody () | |
getHeader ( $name) | |
getHeaderLine ( $name) | |
getHeaders () | |
getProtocolVersion () | |
getReasonPhrase () | |
getStatusCode () | |
hasHeader ( $name) | |
withAddedHeader ( $name, $value) | |
withBody (StreamInterface $body) | |
withHeader ( $name, $value) | |
withoutHeader ( $name) | |
withProtocolVersion ( $version) | |
withStatus ( $code, $reasonPhrase='') | |
Definition at line 18 of file MwHttpRequestToResponseInterfaceAdapter.php.
MediaWiki\Http\MwHttpRequestToResponseInterfaceAdapter::__construct | ( | MWHttpRequest | $mwHttpRequest | ) |
MWHttpRequest | $mwHttpRequest | the MWHttpRequest must contain response information, i.e. must have been execute d |
Definition at line 29 of file MwHttpRequestToResponseInterfaceAdapter.php.
MediaWiki\Http\MwHttpRequestToResponseInterfaceAdapter::getBody | ( | ) |
Definition at line 75 of file MwHttpRequestToResponseInterfaceAdapter.php.
MediaWiki\Http\MwHttpRequestToResponseInterfaceAdapter::getHeader | ( | $name | ) |
Definition at line 53 of file MwHttpRequestToResponseInterfaceAdapter.php.
MediaWiki\Http\MwHttpRequestToResponseInterfaceAdapter::getHeaderLine | ( | $name | ) |
Definition at line 57 of file MwHttpRequestToResponseInterfaceAdapter.php.
MediaWiki\Http\MwHttpRequestToResponseInterfaceAdapter::getHeaders | ( | ) |
Definition at line 45 of file MwHttpRequestToResponseInterfaceAdapter.php.
MediaWiki\Http\MwHttpRequestToResponseInterfaceAdapter::getProtocolVersion | ( | ) |
Definition at line 34 of file MwHttpRequestToResponseInterfaceAdapter.php.
MediaWiki\Http\MwHttpRequestToResponseInterfaceAdapter::getReasonPhrase | ( | ) |
Definition at line 91 of file MwHttpRequestToResponseInterfaceAdapter.php.
MediaWiki\Http\MwHttpRequestToResponseInterfaceAdapter::getStatusCode | ( | ) |
Definition at line 83 of file MwHttpRequestToResponseInterfaceAdapter.php.
MediaWiki\Http\MwHttpRequestToResponseInterfaceAdapter::hasHeader | ( | $name | ) |
Definition at line 49 of file MwHttpRequestToResponseInterfaceAdapter.php.
MediaWiki\Http\MwHttpRequestToResponseInterfaceAdapter::withAddedHeader | ( | $name, | |
$value ) |
Definition at line 67 of file MwHttpRequestToResponseInterfaceAdapter.php.
MediaWiki\Http\MwHttpRequestToResponseInterfaceAdapter::withBody | ( | StreamInterface | $body | ) |
Definition at line 79 of file MwHttpRequestToResponseInterfaceAdapter.php.
MediaWiki\Http\MwHttpRequestToResponseInterfaceAdapter::withHeader | ( | $name, | |
$value ) |
Definition at line 63 of file MwHttpRequestToResponseInterfaceAdapter.php.
MediaWiki\Http\MwHttpRequestToResponseInterfaceAdapter::withoutHeader | ( | $name | ) |
Definition at line 71 of file MwHttpRequestToResponseInterfaceAdapter.php.
MediaWiki\Http\MwHttpRequestToResponseInterfaceAdapter::withProtocolVersion | ( | $version | ) |
Definition at line 41 of file MwHttpRequestToResponseInterfaceAdapter.php.
MediaWiki\Http\MwHttpRequestToResponseInterfaceAdapter::withStatus | ( | $code, | |
$reasonPhrase = '' ) |
Definition at line 87 of file MwHttpRequestToResponseInterfaceAdapter.php.