java.lang.Object | |
↳ | com.atlassian.plugin.servlet.PluginResourceDownload |
A downloadable plugin resource, as described here: http://confluence.atlassian.com/display/JIRA/Downloadable+plugin+resource It supports the download of single plugin resources as well as batching.
The URL that it parses for a single resource looks like this:{server root}/download/resources/{plugin key}:{module key}/{resource name}
The URL that it parses for a batch looks like this: {server root}/download/batch/{plugin key}:{module key}/all.css?ieonly=true
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns true if the DownloadStrategy is supported for the given url path.
| |||||||||||
Serves the file for the given request and response.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.plugin.servlet.DownloadStrategy
|
Returns true if the DownloadStrategy is supported for the given url path.
urlPath | the result of getRequestURI() converted to lowercase
|
---|
Serves the file for the given request and response.
DownloadException |
---|