com.atlassian.confluence.plugin.webresource
Class FixedUrlCDNStrategy
java.lang.Object
com.atlassian.confluence.plugin.webresource.FixedUrlCDNStrategy
- All Implemented Interfaces:
- com.atlassian.plugin.webresource.cdn.CDNStrategy
public class FixedUrlCDNStrategy
- extends Object
- implements com.atlassian.plugin.webresource.cdn.CDNStrategy
A CDN strategy that uses a system provided base url. It will blindly prepend this when transforming all URLs.
Not Instant-On friendly. It's a simple strategy though that would be useful for BTF deployments to deploy a CDN.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedUrlCDNStrategy
public FixedUrlCDNStrategy()
supportsCdn
public boolean supportsCdn()
- Specified by:
supportsCdn in interface com.atlassian.plugin.webresource.cdn.CDNStrategy
transformRelativeUrl
public String transformRelativeUrl(String url)
- Specified by:
transformRelativeUrl in interface com.atlassian.plugin.webresource.cdn.CDNStrategy
Copyright © 2003–2015 Atlassian. All rights reserved.