Package org.nuxeo.ecm.blob.azure
Class AzureBinaryManager
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
- All Implemented Interfaces:
BinaryManager
,BlobProvider
- Direct Known Subclasses:
AzureCDNBinaryManager
Deprecated.
- Since:
- 7.10
- Author:
- Arnaud Kervern
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
Deprecated.protected com.azure.storage.blob.BlobContainerClient
Deprecated.static final String
Deprecated.static final String
Deprecated.protected String
Deprecated.static final String
Deprecated.static final String
Deprecated.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
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
getContentDispositionHeader
(Blob blob, javax.servlet.http.HttpServletRequest servletRequest) Deprecated.protected FileStorage
Deprecated.protected URI
getRemoteUri
(String digest, ManagedBlob blob, javax.servlet.http.HttpServletRequest servletRequest) Deprecated.protected String
Deprecated.Gets the prefix used for configuration using system properties.protected BinaryGarbageCollector
Deprecated.protected long
lengthOfBlob
(String digest) Deprecated.void
removeBinaries
(Collection<String> digests) Deprecated.Remove definitively a set of binariesprotected void
removeBinary
(String digest) Deprecated.protected void
Deprecated.Configure Cloud client using propertiesMethods 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 Details
-
ENDPOINT_PROTOCOL_PROPERTY
Deprecated.- See Also:
-
SYSTEM_PROPERTY_PREFIX
Deprecated.- See Also:
-
ACCOUNT_NAME_PROPERTY
Deprecated.- See Also:
-
ACCOUNT_KEY_PROPERTY
Deprecated.- See Also:
-
CONTAINER_PROPERTY
Deprecated.- See Also:
-
PREFIX_PROPERTY
Deprecated.- Since:
- 10.10
- See Also:
-
client
protected com.azure.storage.blob.BlobContainerClient clientDeprecated. -
prefix
Deprecated.
-
-
Constructor Details
-
AzureBinaryManager
public AzureBinaryManager()Deprecated.
-
-
Method Details
-
getSystemPropertyPrefix
Deprecated.Description copied from class:AbstractCloudBinaryManager
Gets the prefix used for configuration using system properties.- Specified by:
getSystemPropertyPrefix
in classAbstractCloudBinaryManager
-
setupCloudClient
Deprecated.Description copied from class:AbstractCloudBinaryManager
Configure Cloud client using properties- Specified by:
setupCloudClient
in classAbstractCloudBinaryManager
- Throws:
IOException
-
instantiateGarbageCollector
Deprecated.- Specified by:
instantiateGarbageCollector
in classAbstractCloudBinaryManager
-
getFileStorage
Deprecated.- Specified by:
getFileStorage
in classAbstractCloudBinaryManager
-
getRemoteUri
protected URI getRemoteUri(String digest, ManagedBlob blob, javax.servlet.http.HttpServletRequest servletRequest) throws IOException Deprecated.- Overrides:
getRemoteUri
in classAbstractCloudBinaryManager
- Throws:
IOException
-
getContentDispositionHeader
protected String getContentDispositionHeader(Blob blob, javax.servlet.http.HttpServletRequest servletRequest) Deprecated.- Overrides:
getContentDispositionHeader
in classAbstractCloudBinaryManager
-
removeBinary
Deprecated. -
removeBinaries
Deprecated.Description copied from interface:BinaryManager
Remove definitively a set of binaries- Specified by:
removeBinaries
in interfaceBinaryManager
- Specified by:
removeBinaries
in classAbstractCloudBinaryManager
- Parameters:
digests
- a set of digests, must not benull
.
-
lengthOfBlob
Deprecated.- Returns:
- the length of the blob with the given
digest
, or -1 if missing - Since:
- 11.5
-
AzureBlobProvider
instead