Package com.atlassian.jira.plugin
Class JiraPluginResourceDownload
java.lang.Object
com.atlassian.plugin.webresource.servlet.PluginResourceDownload
com.atlassian.jira.plugin.JiraPluginResourceDownload
- All Implemented Interfaces:
com.atlassian.plugin.servlet.DownloadStrategy
public class JiraPluginResourceDownload
extends com.atlassian.plugin.webresource.servlet.PluginResourceDownload
The sole reason for this class' existence is to handle the Pico dependency injection for the PluginResourceDownload.
It takes a String parameter but we have no way with Pico to signal statically what String should be injected there.
We take care of all that here by using an EncodingConfiguration.
- Since:
- v4.0
-
Constructor Summary
ConstructorsConstructorDescriptionJiraPluginResourceDownload(com.atlassian.plugin.webresource.PluginResourceLocator pluginResourceLocator, com.atlassian.plugin.servlet.ContentTypeResolver contentTypeResolver, EncodingConfiguration encodingConfig) -
Method Summary
Methods inherited from class com.atlassian.plugin.webresource.servlet.PluginResourceDownload
matches, serveFile, setCharacterEncoding, setContentTypeResolver, setGlobals
-
Constructor Details
-
JiraPluginResourceDownload
public JiraPluginResourceDownload(com.atlassian.plugin.webresource.PluginResourceLocator pluginResourceLocator, com.atlassian.plugin.servlet.ContentTypeResolver contentTypeResolver, EncodingConfiguration encodingConfig)
-