| com.atlassian.plugin.webresource.transformer.WebResourceTransformer |
Transforms a downloadable resource. Instances are created per request, though it is assumed the resource will have the appropriate caching headers to ensure the same user doesn't download it twice.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Transforms the downloadable resource by returning a new one.
| |||||||||||
Transforms the downloadable resource by returning a new one.
| configElement | The element where it was used. This is provided to allow the transformer to take additional configuration in the form of custom attributes or sub-elements. |
|---|---|
| location | The original resource location |
| filePath | Extra path information. Cannot be null, but can be an empty string if no extra path information |
| nextResource | The original resource |