Page MenuHomePhabricator

abstract class AphrontResponse
Phabricator Technical Documentation (Aphront)

This class is not documented.

Methods

public function setRequest($request)

This method is not documented.
Parameters
$request
Return
wild

public function getRequest()

This method is not documented.
Return
wild

final public function addContentSecurityPolicyURI($kind, $uri)

This method is not documented.
Parameters
$kind
$uri
Return
wild

final public function setDisableContentSecurityPolicy($disable)

This method is not documented.
Parameters
$disable
Return
wild

final public function addHeader($key, $value)

This method is not documented.
Parameters
$key
$value
Return
wild

public function getContentIterator()

This method is not documented.
Return
wild

public function buildResponseString()

This method is not documented.
Return
wild

public function getHeaders()

This method is not documented.
Return
wild
This method is not documented.
Return
wild

private function newContentSecurityPolicy($type, $defaults)

This method is not documented.
Parameters
$type
$defaults
Return
wild

private function newContentSecurityPolicySource($uri)

This method is not documented.
Parameters
$uri
Return
wild

public function setCacheDurationInSeconds($duration)

This method is not documented.
Parameters
$duration
Return
wild

public function setCanCDN($can_cdn)

This method is not documented.
Parameters
$can_cdn
Return
wild

public function setLastModified($epoch_timestamp)

This method is not documented.
Parameters
$epoch_timestamp
Return
wild

public function setHTTPResponseCode($code)

This method is not documented.
Parameters
$code
Return
wild

public function getHTTPResponseCode()

This method is not documented.
Return
wild

public function getHTTPResponseMessage()

This method is not documented.
Return
wild

public function setFrameable($frameable)

This method is not documented.
Parameters
$frameable
Return
wild

public static function processValueForJSONEncoding(&$value, $key)

This method is not documented.
Parameters
&$value
$key
Return
wild

public static function encodeJSONForHTTPResponse($object)

This method is not documented.
Parameters
array$object
Return
wild

protected function addJSONShield($json_response)

This method is not documented.
Parameters
$json_response
Return
wild

public function getCacheHeaders()

This method is not documented.
Return
wild

private function formatEpochTimestampForHTTPHeader($epoch_timestamp)

This method is not documented.
Parameters
$epoch_timestamp
Return
wild

protected function shouldCompressResponse()

This method is not documented.
Return
wild

public function willBeginWrite()

This method is not documented.
Return
wild

public function didCompleteWrite($aborted)

This method is not documented.
Parameters
$aborted
Return
wild