public function setRequest($request)
public function setRequest($request)
Parameters
$request |
Return
wild |
public function getRequest()
public function getRequest()
Return
wild |
final public function addContentSecurityPolicyURI($kind, $uri)
final public function addContentSecurityPolicyURI($kind, $uri)
Parameters
$kind | ||
$uri |
Return
wild |
final public function setDisableContentSecurityPolicy($disable)
final public function setDisableContentSecurityPolicy($disable)
Parameters
$disable |
Return
wild |
final public function addHeader($key, $value)
final public function addHeader($key, $value)
Parameters
$key | ||
$value |
Return
wild |
public function getContentIterator()
public function getContentIterator()
Return
wild |
public function buildResponseString()
public function buildResponseString()
Return
wild |
public function getHeaders()
public function getHeaders()
Return
wild |
private function newContentSecurityPolicyHeader()
private function newContentSecurityPolicyHeader()
Return
wild |
private function newContentSecurityPolicy($type, $defaults)
private function newContentSecurityPolicy($type, $defaults)
Parameters
$type | ||
$defaults |
Return
wild |
private function newContentSecurityPolicySource($uri)
private function newContentSecurityPolicySource($uri)
Parameters
$uri |
Return
wild |
public function setCacheDurationInSeconds($duration)
public function setCacheDurationInSeconds($duration)
Parameters
$duration |
Return
wild |
public function setCanCDN($can_cdn)
public function setCanCDN($can_cdn)
Parameters
$can_cdn |
Return
wild |
public function setLastModified($epoch_timestamp)
public function setLastModified($epoch_timestamp)
Parameters
$epoch_timestamp |
Return
wild |
public function setHTTPResponseCode($code)
public function setHTTPResponseCode($code)
Parameters
$code |
Return
wild |
public function getHTTPResponseCode()
public function getHTTPResponseCode()
Return
wild |
public function getHTTPResponseMessage()
public function getHTTPResponseMessage()
Return
wild |
public function setFrameable($frameable)
public function setFrameable($frameable)
Parameters
$frameable |
Return
wild |
public static function processValueForJSONEncoding(&$value, $key)
public static function processValueForJSONEncoding(&$value, $key)
Parameters
&$value | ||
$key |
Return
wild |
public static function encodeJSONForHTTPResponse($object)
public static function encodeJSONForHTTPResponse($object)
Parameters
array | $object |
Return
wild |
protected function addJSONShield($json_response)
protected function addJSONShield($json_response)
Parameters
$json_response |
Return
wild |
public function getCacheHeaders()
public function getCacheHeaders()
Return
wild |
private function formatEpochTimestampForHTTPHeader($epoch_timestamp)
private function formatEpochTimestampForHTTPHeader($epoch_timestamp)
Parameters
$epoch_timestamp |
Return
wild |
protected function shouldCompressResponse()
protected function shouldCompressResponse()
Return
wild |
public function willBeginWrite()
public function willBeginWrite()
Return
wild |
public function didCompleteWrite($aborted)
public function didCompleteWrite($aborted)
Parameters
$aborted |
Return
wild |