Page MenuHomeClusterLabs Projects
Diviner Tech Docs AphrontFileResponse

final class AphrontFileResponse
Phorge Technical Documentation (Aphront)

This class is not documented.

Methods

public function setRequest($request)
Inherited

This method is not documented.
Parameters
$request
Return
wild

public function getRequest()
Inherited

This method is not documented.
Return
wild

final public function addContentSecurityPolicyURI($kind, $uri)
Inherited

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

final public function setDisableContentSecurityPolicy($disable)
Inherited

This method is not documented.
Parameters
$disable
Return
wild

final public function addHeader($key, $value)
Inherited

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

private function newContentSecurityPolicyHeader()
Inherited

This method is not documented.
Return
wild

private function newContentSecurityPolicy($type, $defaults)
Inherited

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

private function newContentSecurityPolicySource($uri)
Inherited

This method is not documented.
Parameters
$uri
Return
wild

public function setCacheDurationInSeconds($duration)
Inherited

This method is not documented.
Parameters
$duration
Return
wild

public function setCanCDN($can_cdn)
Inherited

This method is not documented.
Parameters
$can_cdn
Return
wild

public function setLastModified($epoch_timestamp)
Inherited

This method is not documented.
Parameters
$epoch_timestamp
Return
wild

public function setHTTPResponseCode($code)
Inherited

This method is not documented.
Parameters
$code
Return
wild

public function getHTTPResponseCode()
Inherited

This method is not documented.
Return
wild

public function getHTTPResponseMessage()
Inherited

This method is not documented.
Return
wild

public function setFrameable($frameable)
Inherited

This method is not documented.
Parameters
$frameable
Return
wild

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

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

public static function encodeJSONForHTTPResponse($object)
Inherited

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

protected function addJSONShield($json_response)
Inherited

This method is not documented.
Parameters
$json_response
Return
wild

public function getCacheHeaders()
Inherited

This method is not documented.
Return
wild

private function formatEpochTimestampForHTTPHeader($epoch_timestamp)
Inherited

This method is not documented.
Parameters
$epoch_timestamp
Return
wild

protected function shouldCompressResponse()

This method is not documented.
Return
wild

public function willBeginWrite()
Inherited

This method is not documented.
Return
wild

public function didCompleteWrite($aborted)
Inherited

This method is not documented.
Parameters
$aborted
Return
wild

public function addAllowOrigin($origin)

This method is not documented.
Parameters
$origin
Return
wild

public function setDownload($download)

Set a download filename

Parameters
$download$downloadstring
Return
self

public function getDownload()

Get the download filename

If this was never set, NULL is given.

Return
string|null

public function setMimeType($mime_type)

This method is not documented.
Parameters
$mime_type
Return
wild

public function getMimeType()

This method is not documented.
Return
wild

public function setContent($content)

This method is not documented.
Parameters
$content
Return
wild

public function setContentIterator($iterator)

This method is not documented.
Parameters
$iterator
Return
wild

public function setContentLength($length)

This method is not documented.
Parameters
$length
Return
wild

public function getContentLength()

This method is not documented.
Return
wild

public function setCompressResponse($compress_response)

This method is not documented.
Parameters
$compress_response
Return
wild

public function getCompressResponse()

This method is not documented.
Return
wild

public function setRange($min, $max)

This method is not documented.
Parameters
$min
$max
Return
wild

public function parseHTTPRange($range)

This method is not documented.
Parameters
$range
Return
wild