ContentDownloadHandler Class
Use ContentDownloadHandler to define a custom download handler that controls how content is downloaded.
ContentDownloadHandlerFactory Interface
Use this interface to provide a class factory that Salesforce can call to create instances of your custom ContentDownloadHandler.