Interface PluginResourceLocator

All Known Implementing Classes:
PluginResourceLocatorImpl

@Deprecated public interface PluginResourceLocator
Deprecated.
since 3.3.2
Assists in locating plugin resources in different ways.
Since:
2.2
  • Method Summary

    Modifier and Type
    Method
    Description
    com.atlassian.plugin.servlet.DownloadableResource
    Deprecated.
    since 3.3.2
    boolean
    Deprecated.
    since 3.3.2
  • Method Details

    • matches

      @Deprecated boolean matches(String url)
      Deprecated.
      since 3.3.2
      Returns true if this locator can parse the given url.
    • getDownloadableResource

      @Deprecated com.atlassian.plugin.servlet.DownloadableResource getDownloadableResource(String url, Map<String,String> queryParams)
      Deprecated.
      since 3.3.2
      This method should be deleted when Confluence would be updated and stop using PluginResourceLocator.getDownloadableResource See https://ecosystem.atlassian.net/browse/PLUGWEB-193

      Returns a DownloadableResource represented by the given url and query params. matches(String) should be called before invoking this method. If the url is not understood by the locator or the resource cannot be found, null will be returned.