DownloadFormat Class Reference
Detailed Description
DownloadFormat is used for downloads.
It will be automatically chosen, if a response document is set using the Response::setDocument() method.
Definition at line 23 of file DownloadFormat.php.
Inheritance diagram for DownloadFormat:Public Member Functions | |
| getMimeType (Response $response=null) | |
| isCached (Response $response) | |
| getCacheDate (Response $response) | |
| getResponseHeaders (Response $response) | |
Public Member Functions inherited from AbstractFormat | |
| deserialize (Request $request) | |
| serialize (Response $response) | |
Protected Member Functions | |
| deserializeValues (Request $request) | |
| serializeValues (Response $response) | |
Protected Member Functions inherited from AbstractFormat | |
| beforeDeserialize (Request $request) | |
| afterDeserialize (Request $request) | |
| beforeSerialize (Response $response) | |
| afterSerialize (Response $response) | |
| getNode (ObjectId $oid) | |
| filterValue ($value, AttributeDescription $attribute) | |
Member Function Documentation
◆ getMimeType()
| getMimeType | ( | Response | $response = null | ) |
◆ isCached()
| isCached | ( | Response | $response | ) |
◆ getCacheDate()
| getCacheDate | ( | Response | $response | ) |
◆ getResponseHeaders()
| getResponseHeaders | ( | Response | $response | ) |
- See also
- Format::getResponseHeaders()
Reimplemented from AbstractFormat.
Definition at line 60 of file DownloadFormat.php.
◆ deserializeValues()
|
protected |
Reimplemented from AbstractFormat.
Definition at line 74 of file DownloadFormat.php.
◆ serializeValues()
|
protected |
Reimplemented from AbstractFormat.
Definition at line 81 of file DownloadFormat.php.