Class GetHlsSignedCookiesUrlTaskRunner
- java.lang.Object
-
- org.duracloud.s3task.streaminghls.BaseHlsTaskRunner
-
- org.duracloud.s3task.streaminghls.GetHlsSignedCookiesUrlTaskRunner
-
- All Implemented Interfaces:
TaskRunner
public class GetHlsSignedCookiesUrlTaskRunner extends BaseHlsTaskRunner
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
Fields Modifier and Type Field Description static intDEFAULT_MINUTES_TO_EXPIRE-
Fields 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
Constructors Constructor Description GetHlsSignedCookiesUrlTaskRunner(StorageProvider s3Provider, S3StorageProvider unwrappedS3Provider, com.amazonaws.services.cloudfront.AmazonCloudFrontClient cfClient, StringDataStoreFactory dataStoreFactory, String cfKeyId, String cfKeyPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()StringperformTask(String taskParameters)-
Methods inherited from class org.duracloud.s3task.streaminghls.BaseHlsTaskRunner
checkThatStreamingServiceIsEnabled, getAllExistingWebDistributions, getExistingDistribution, getSpaceContents, removeHlsStreamingHostFromSpaceProps, setDistributionState, wait
-
-
-
-
Field Detail
-
DEFAULT_MINUTES_TO_EXPIRE
public static final int DEFAULT_MINUTES_TO_EXPIRE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GetHlsSignedCookiesUrlTaskRunner
public GetHlsSignedCookiesUrlTaskRunner(StorageProvider s3Provider, S3StorageProvider unwrappedS3Provider, com.amazonaws.services.cloudfront.AmazonCloudFrontClient cfClient, StringDataStoreFactory dataStoreFactory, String cfKeyId, String cfKeyPath)
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceTaskRunner- Specified by:
getNamein classBaseHlsTaskRunner
-
performTask
public String performTask(String taskParameters)
- Specified by:
performTaskin interfaceTaskRunner- Specified by:
performTaskin classBaseHlsTaskRunner
-
-