com.atlassian.confluence.importexport.resource.DownloadResourceManager |
Known Indirect Subclasses
|
Class Overview
An interface for managers that support reading of downloadable resources. Managers that also support writing, should
implement the WritableDownloadResourceManager
interface.
Public Methods
Parameters
userName
| the user who is retrieving the downloadable resource. |
resourcePath
| the relative URL of the resource including the application context path. For example,
"/confluence/download/attachments/12345/temp.png". |
parameters
| a map of url paramaters for the resource |
Returns
- a DownloadResourceReader to read the resource content from
public
boolean
matches
(String resourcePath)
Returns a boolean to indicate whether the current DownloadResourceManager will know how to handle the
given resourcePath.
Parameters
resourcePath
| the relative URL of the resource including the application context path. For example,
"/confluence/download/attachments/12345/temp.png". |
Returns
- true if the manager can handle the given resource path