com.atlassian.confluence.plugin.webresource
Class BaseUrlCDNStrategy
java.lang.Object
com.atlassian.confluence.plugin.webresource.BaseUrlCDNStrategy
- All Implemented Interfaces:
- com.atlassian.plugin.webresource.cdn.CDNStrategy
public class BaseUrlCDNStrategy
- extends Object
- implements com.atlassian.plugin.webresource.cdn.CDNStrategy
Strategy that uses system provided base URL + configured canonical hostname of current tenant. Instant-on friendly.
Since 5.7
|
Constructor Summary |
BaseUrlCDNStrategy(com.atlassian.sal.api.ApplicationProperties applicationProperties)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseUrlCDNStrategy
public BaseUrlCDNStrategy(com.atlassian.sal.api.ApplicationProperties applicationProperties)
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.