Class RegionToCDNEndpoint

  • All Implemented Interfaces:
    com.google.common.base.Function<Object,​URI>, Function<Object,​URI>

    @Singleton
    public class RegionToCDNEndpoint
    extends Object
    implements com.google.common.base.Function<Object,​URI>
    This class ensures that the correct Cloud Files CDN endpoint is retrieved from the endpoint supplier. The CDN API should never be instantiated directly, but rather accessed through the CloudFilesApi#cdnApiInRegion(String) API.

    NOTE

    The Cloud Files Service Type will always default to OpenStack Object Storage ("object-storage").

    See Also:
    CloudFilesApi#cdnApiInRegion(String), CDNApi, RegionToEndpoint, ServiceType.OBJECT_STORE, ServiceType.OBJECT_CDN, Service Access Endpoints