Class GetHlsSignedCookiesUrlTaskRunner
java.lang.Object
org.duracloud.s3task.streaminghls.BaseHlsTaskRunner
org.duracloud.s3task.streaminghls.GetHlsSignedCookiesUrlTaskRunner
- All Implemented Interfaces:
TaskRunner
Retrieves a URL which can be used to set signed cookies on the user's browser.
These cookies allow access to content that is streamed through Amazon Cloudfront
via a secure HLS distribution
-
Nested Class Summary
Nested classes/interfaces inherited from class org.duracloud.s3task.streaminghls.BaseHlsTaskRunner
BaseHlsTaskRunner.STREAMING_TYPE -
Field Summary
FieldsFields inherited from class org.duracloud.s3task.streaminghls.BaseHlsTaskRunner
cfAccountId, cfClient, cfKeyId, cfKeyPath, dcHost, HLS_STREAMING_HOST_PROP, HLS_STREAMING_TYPE_PROP, maxRetries, S3_ORIGIN_OAI_PREFIX, S3_ORIGIN_SUFFIX, s3Client, s3Provider, unwrappedS3Provider -
Constructor Summary
ConstructorsConstructorDescriptionGetHlsSignedCookiesUrlTaskRunner(StorageProvider s3Provider, S3StorageProvider unwrappedS3Provider, com.amazonaws.services.cloudfront.AmazonCloudFrontClient cfClient, StringDataStoreFactory dataStoreFactory, String cfKeyId, String cfKeyPath) -
Method Summary
Methods inherited from class org.duracloud.s3task.streaminghls.BaseHlsTaskRunner
checkThatStreamingServiceIsEnabled, getAllExistingWebDistributions, getExistingDistribution, getSpaceContents, removeHlsStreamingHostFromSpaceProps, setDistributionState, wait
-
Field Details
-
DEFAULT_MINUTES_TO_EXPIRE
public static final int DEFAULT_MINUTES_TO_EXPIRE- See Also:
-
-
Constructor Details
-
GetHlsSignedCookiesUrlTaskRunner
public GetHlsSignedCookiesUrlTaskRunner(StorageProvider s3Provider, S3StorageProvider unwrappedS3Provider, com.amazonaws.services.cloudfront.AmazonCloudFrontClient cfClient, StringDataStoreFactory dataStoreFactory, String cfKeyId, String cfKeyPath)
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceTaskRunner- Specified by:
getNamein classBaseHlsTaskRunner
-
performTask
- Specified by:
performTaskin interfaceTaskRunner- Specified by:
performTaskin classBaseHlsTaskRunner
-