com.atlassian.jira.plugin
Class JiraPluginResourceDownload

java.lang.Object
  extended by com.atlassian.plugin.webresource.servlet.PluginResourceDownload
      extended by 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
JiraPluginResourceDownload(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, setPluginResourceLocator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraPluginResourceDownload

public JiraPluginResourceDownload(com.atlassian.plugin.webresource.PluginResourceLocator pluginResourceLocator,
                                  com.atlassian.plugin.servlet.ContentTypeResolver contentTypeResolver,
                                  EncodingConfiguration encodingConfig)


Copyright © 2002-2014 Atlassian. All Rights Reserved.