public interface DownloadPolicy extends Policy
RESOURCE_BUNDLE
Modifier and Type | Method and Description |
---|---|
void |
applyPolicy(PolicyOption policySetting,
Properties request,
StorageAsset localFile)
Apply the download policy.
|
getDefaultOption, getDescription, getId, getName, getName, getOptionDescription, getOptionName, getOptions
void applyPolicy(PolicyOption policySetting, Properties request, StorageAsset localFile) throws PolicyViolationException, PolicyConfigurationException
policySetting
- the policy setting.request
- the list of request properties that the policy might use.localFile
- PolicyViolationException
- if the policy has been violated.PolicyConfigurationException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.