public interface CloudFilesClient extends SwiftClient
Modifier and Type | Method and Description |
---|---|
boolean |
disableCDN(String container)
Remove the container from the CDN.
|
URI |
enableCDN(String container) |
URI |
enableCDN(String container,
long ttl) |
URI |
enableCDN(String container,
long ttl,
boolean logRetention)
Before a container can be CDN-enabled, it must exist in the storage system.
|
ContainerCDNMetadata |
getCDNMetadata(String container)
Get the CDN attributes of the container.
|
Set<ContainerCDNMetadata> |
listCDNContainers(ListCdnContainerOptions... options)
Retrieve a list of existing CDN-enabled containers.
|
boolean |
purgeCDNObject(String container,
String object) |
boolean |
purgeCDNObject(String container,
String object,
Iterable<String> emails)
You can purge a CDN-enabled object when you find it absolutely necessary to remove the object from public access
and you cannot wait for the TTL to expire.
|
boolean |
setCDNStaticWebsiteError(String container,
String error)
You may create and set custom error pages for visitors to your website; currently, only 401 (Unauthorized) and
404 (Not Found) errors are supported.
|
boolean |
setCDNStaticWebsiteIndex(String container,
String index)
You may use your Cloud Files account to create a static website on the World Wide Web.
|
URI |
updateCDN(String container,
boolean logRetention) |
URI |
updateCDN(String container,
long ttl) |
URI |
updateCDN(String container,
long ttl,
boolean logRetention) |
containerExists, copyObject, createContainer, createContainer, deleteContainerIfEmpty, deleteContainerMetadata, getAccountStatistics, getContainerMetadata, getObject, getObjectInfo, listContainers, listObjects, newSwiftObject, objectExists, putObject, putObjectManifest, removeObject, setContainerMetadata, setObjectInfo
Set<ContainerCDNMetadata> listCDNContainers(ListCdnContainerOptions... options)
ContainerCDNMetadata getCDNMetadata(String container)
URI enableCDN(String container, long ttl, boolean logRetention)
URI enableCDN(String container, long ttl)
enableCDN(String, long, boolean)
URI enableCDN(String container)
enableCDN(String, long, boolean)
URI updateCDN(String container, long ttl, boolean logRetention)
enableCDN(String, long, boolean)
URI updateCDN(String container, boolean logRetention)
enableCDN(String, long, boolean)
URI updateCDN(String container, long ttl)
enableCDN(String, long, boolean)
boolean disableCDN(String container)
boolean purgeCDNObject(String container, String object, Iterable<String> emails)
boolean setCDNStaticWebsiteIndex(String container, String index)
boolean setCDNStaticWebsiteError(String container, String error)
Copyright © 2009-2013 jclouds. All Rights Reserved.