public class CloudFrontBinaryManager extends S3BinaryManager
S3BinaryManager.S3BinaryGarbageCollector, S3BinaryManager.S3FileStorage
Modifier and Type | Field and Description |
---|---|
static String |
DISTRIB_DOMAIN_PROPERTY |
protected String |
distributionDomain |
static String |
ENABLE_CF_ENCODING_FIX |
static String |
PRIVATE_KEY_ID_PROPERTY |
static String |
PRIVATE_KEY_PROPERTY |
protected PrivateKey |
privKey |
protected String |
privKeyId |
protected com.amazonaws.services.cloudfront.util.SignerUtils.Protocol |
protocol |
static String |
PROTOCOL_PROPERTY |
amazonS3, AWS_ID_ENV, AWS_ID_PROPERTY, AWS_SECRET_ENV, AWS_SECRET_PROPERTY, awsCredentialsProvider, BUCKET_NAME_PROPERTY, BUCKET_PREFIX_PROPERTY, BUCKET_REGION_PROPERTY, bucketName, bucketNamePrefix, clientConfiguration, CONNECTION_MAX_PROPERTY, CONNECTION_RETRY_PROPERTY, CONNECTION_TIMEOUT_PROPERTY, cryptoConfiguration, DEFAULT_BUCKET_REGION, DIRECTDOWNLOAD_EXPIRE_PROPERTY_COMPAT, DIRECTDOWNLOAD_PROPERTY_COMPAT, encryptionMaterials, ENDPOINT_PROPERTY, isEncrypted, KEYSTORE_FILE_PROPERTY, KEYSTORE_PASS_PROPERTY, PRIVKEY_ALIAS_PROPERTY, PRIVKEY_PASS_PROPERTY, SERVERSIDE_ENCRYPTION_PROPERTY, SOCKET_TIMEOUT_PROPERTY, SYSTEM_PROPERTY_PREFIX, transferManager, userServerSideEncryption
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, directDownload, DIRECTDOWNLOAD_EXPIRE_PROPERTY, DIRECTDOWNLOAD_PROPERTY, directDownloadExpire, properties
cachedir, fileCache, fileStorage
blobProviderId, DEFAULT_DEPTH, DEFAULT_DIGEST, descriptor, DIGESTS_BY_LENGTH, garbageCollector, MAX_BUF_SIZE, MD5_DIGEST, MD5_DIGEST_LENGTH, MIN_BUF_SIZE, SHA1_DIGEST, SHA1_DIGEST_LENGTH, SHA256_DIGEST, SHA256_DIGEST_LENGTH
PROP_KEY, PROP_PATH
Constructor and Description |
---|
CloudFrontBinaryManager() |
Modifier and Type | Method and Description |
---|---|
protected URI |
getRemoteUri(String digest,
ManagedBlob blob,
javax.servlet.http.HttpServletRequest servletRequest) |
protected void |
setupCloudClient()
Configure Cloud client using properties
|
abortOldUploads, canAccessBucket, close, getDefaultDigestAlgorithm, getFileStorage, getSystemPropertyPrefix, instantiateGarbageCollector, isMD5, isMissingKey, removeBinaries, removeBinary
getBinaryManager, getContentDispositionHeader, getContentTypeHeader, getIntProperty, getProperty, getProperty, getSystemPropertyName, getURI, initialize, isDirectDownload, performsExternalAccessControl, readBlob, supportsUserUpdate, supportsUserUpdateDefaultTrue, writeBlob
getBinary, getBinary, getFile, initializeCache, initializeCache, initializeCache
getBinary, getDescriptor, getDigestAlgorithm, getGarbageCollector, storeAndDigest, toHexString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAppLinks, getAvailableConversions, getStream, getThumbnail, isVersion
public static final String PRIVATE_KEY_PROPERTY
public static final String PRIVATE_KEY_ID_PROPERTY
public static final String DISTRIB_DOMAIN_PROPERTY
public static final String PROTOCOL_PROPERTY
public static final String ENABLE_CF_ENCODING_FIX
protected String distributionDomain
protected com.amazonaws.services.cloudfront.util.SignerUtils.Protocol protocol
protected PrivateKey privKey
public CloudFrontBinaryManager()
protected void setupCloudClient() throws IOException
AbstractCloudBinaryManager
setupCloudClient
in class S3BinaryManager
IOException
protected URI getRemoteUri(String digest, ManagedBlob blob, javax.servlet.http.HttpServletRequest servletRequest) throws IOException
getRemoteUri
in class S3BinaryManager
IOException
Copyright © 2018 Nuxeo. All rights reserved.