com.atlassian.confluence.plugin.webresource
Class FixedUrlCDNStrategy

java.lang.Object
  extended by 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.


Constructor Summary
FixedUrlCDNStrategy()
           
 
Method Summary
 boolean supportsCdn()
           
 String transformRelativeUrl(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FixedUrlCDNStrategy

public FixedUrlCDNStrategy()
Method Detail

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.