Changeset View
Changeset View
Standalone View
Standalone View
src/aphront/response/AphrontProxyResponse.php
| Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | public function getCacheHeaders() { | ||||
| return $this->getProxy()->getCacheHeaders(); | return $this->getProxy()->getCacheHeaders(); | ||||
| } | } | ||||
| abstract protected function buildProxy(); | abstract protected function buildProxy(); | ||||
| abstract public function reduceProxyResponse(); | abstract public function reduceProxyResponse(); | ||||
| final public function buildResponseString() { | final public function buildResponseString() { | ||||
| throw new Exception( | throw new Exception( | ||||
| 'AphrontProxyResponse must implement reduceProxyResponse().'); | pht( | ||||
| '%s must implement %s.', | |||||
| __CLASS__, | |||||
| 'reduceProxyResponse()')); | |||||
| } | } | ||||
| } | } | ||||