Package org.nuxeo.ecm.blob.azure
Class AzureCDNBinaryManager
- java.lang.Object
-
- org.nuxeo.ecm.core.blob.binary.AbstractBinaryManager
-
- org.nuxeo.ecm.core.blob.binary.CachingBinaryManager
-
- org.nuxeo.ecm.blob.AbstractCloudBinaryManager
-
- org.nuxeo.ecm.blob.azure.AzureBinaryManager
-
- org.nuxeo.ecm.blob.azure.AzureCDNBinaryManager
-
- All Implemented Interfaces:
BinaryManager
,BlobProvider
public class AzureCDNBinaryManager extends AzureBinaryManager
- Since:
- 7.10
- Author:
- Arnaud Kervern
-
-
Field Summary
Fields Modifier and Type Field Description static String
AZURE_CDN_PROPERTY
protected String
host
-
Fields inherited from class org.nuxeo.ecm.blob.azure.AzureBinaryManager
ACCOUNT_KEY_PROPERTY, ACCOUNT_NAME_PROPERTY, blobClient, container, CONTAINER_PROPERTY, ENDPOINT_PROTOCOL_PROPERTY, prefix, PREFIX_PROPERTY, storageAccount, SYSTEM_PROPERTY_PREFIX
-
Fields inherited from class org.nuxeo.ecm.blob.AbstractCloudBinaryManager
CACHE_COUNT_PROPERTY, CACHE_MIN_AGE_PROPERTY, CACHE_SIZE_PROPERTY, DEFAULT_CACHE_COUNT, DEFAULT_CACHE_MIN_AGE, DEFAULT_CACHE_SIZE, DEFAULT_DIRECTDOWNLOAD, DEFAULT_DIRECTDOWNLOAD_EXPIRE, DIGEST_ALGORITHM_PROPERTY, directDownload, DIRECTDOWNLOAD_EXPIRE_PROPERTY, DIRECTDOWNLOAD_PROPERTY, directDownloadExpire, namespace, transientFlag
-
Fields inherited from class org.nuxeo.ecm.core.blob.binary.CachingBinaryManager
cachedir, fileCache, fileStorage
-
Fields inherited from class org.nuxeo.ecm.core.blob.binary.AbstractBinaryManager
blobProviderId, DEFAULT_DEPTH, DEFAULT_DIGEST, descriptor, digestPattern, DIGESTS_BY_LENGTH, garbageCollector, MAX_BUF_SIZE, MD5_DIGEST, MD5_DIGEST_LENGTH, MIN_BUF_SIZE, properties, SHA1_DIGEST, SHA1_DIGEST_LENGTH, SHA256_DIGEST, SHA256_DIGEST_LENGTH
-
Fields inherited from interface org.nuxeo.ecm.core.blob.binary.BinaryManager
PROP_KEY, PROP_PATH
-
-
Constructor Summary
Constructors Constructor Description AzureCDNBinaryManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected URI
getRemoteUri(String digest, ManagedBlob blob, javax.servlet.http.HttpServletRequest servletRequest)
protected void
setupCloudClient()
Configure Cloud client using properties-
Methods inherited from class org.nuxeo.ecm.blob.azure.AzureBinaryManager
getContentDispositionHeader, getFileStorage, getSystemPropertyPrefix, instantiateGarbageCollector, isMissingKey, lengthOfBlob, removeBinaries, removeBinary
-
Methods inherited from class org.nuxeo.ecm.blob.AbstractCloudBinaryManager
getBinaryManager, getBooleanProperty, getContentTypeHeader, getDefaultDigestAlgorithm, getIntProperty, getIntProperty, getProperties, getProperty, getProperty, getSystemPropertyName, getURI, initialize, isDirectDownload, isTransient, performsExternalAccessControl, readBlob, supportsUserUpdate, supportsUserUpdateDefaultTrue, writeBlob
-
Methods inherited from class org.nuxeo.ecm.core.blob.binary.CachingBinaryManager
close, getBinary, getBinary, getFile, initializeCache, initializeCache, initializeCache
-
Methods inherited from class org.nuxeo.ecm.core.blob.binary.AbstractBinaryManager
computeDigestPattern, getBinary, getDescriptor, getDigestAlgorithm, getGarbageCollector, isValidDigest, setDescriptor, storeAndDigest, toHexString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.ecm.core.blob.BlobProvider
allowByteRange, allowDirectDownload, canConvert, close, deleteBlob, getAppLinks, getAvailableConversions, getBinaryGarbageCollector, getFile, getStatus, getStream, getStream, getThumbnail, hasCreateFromKeyPermission, isColdStorageMode, isRecordMode, isTransactional, isVersion, readBlob, supportsSync, updateBlob, writeBlob
-
-
-
-
Field Detail
-
AZURE_CDN_PROPERTY
public static final String AZURE_CDN_PROPERTY
- See Also:
- Constant Field Values
-
host
protected String host
-
-
Method Detail
-
setupCloudClient
protected void setupCloudClient() throws IOException
Description copied from class:AbstractCloudBinaryManager
Configure Cloud client using properties- Overrides:
setupCloudClient
in classAzureBinaryManager
- Throws:
IOException
-
getRemoteUri
protected URI getRemoteUri(String digest, ManagedBlob blob, javax.servlet.http.HttpServletRequest servletRequest) throws IOException
- Overrides:
getRemoteUri
in classAzureBinaryManager
- Throws:
IOException
-
-