Detailed Description

DownloadFormat is used for downloads.

It will be automatically chosen, if a response document is set using the Response::setDocument() method.

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

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)
See also
Format::getMimeType()

Implements Format.

Definition at line 28 of file DownloadFormat.php.

◆ isCached()

isCached ( Response  $response)
See also
Format::isCached()

Implements Format.

Definition at line 35 of file DownloadFormat.php.

◆ getCacheDate()

getCacheDate ( Response  $response)
See also
Format::getCacheDate()

Implements Format.

Definition at line 52 of file DownloadFormat.php.

◆ getResponseHeaders()

getResponseHeaders ( Response  $response)
See also
Format::getResponseHeaders()

Reimplemented from AbstractFormat.

Definition at line 60 of file DownloadFormat.php.

◆ deserializeValues()

deserializeValues ( Request  $request)
protected
See also
AbstractFormat::deserializeValues()

Reimplemented from AbstractFormat.

Definition at line 74 of file DownloadFormat.php.

◆ serializeValues()

serializeValues ( Response  $response)
protected
See also
AbstractFormat::serializeValues()

Reimplemented from AbstractFormat.

Definition at line 81 of file DownloadFormat.php.