Class RelativeUrlTransformerFactory

java.lang.Object
com.atlassian.plugin.webresource.transformer.instance.RelativeUrlTransformerFactory
All Implemented Interfaces:
WebResourceTransformerFactory

public class RelativeUrlTransformerFactory extends Object implements WebResourceTransformerFactory
Transformer that converts relative urls in CSS resources into absolute urls.

This will only transform relative urls. It will not transform urls that are:

  • absolute to the domain, eg /my-resource
  • absolute to another domain, eg http://blah.com/my-resource or https://blah.com/my-resource
  • data urls
Since:
v3.1.0