public interface DownloadPolicy extends Policy
Modifier and Type | Method and Description |
---|---|
void |
applyPolicy(String policySetting,
Properties request,
File localFile)
Apply the download policy.
|
getDefaultOption, getId, getName, getOptions
void applyPolicy(String policySetting, Properties request, File 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–2023 The Apache Software Foundation. All rights reserved.