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, getOptionsvoid 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.PolicyConfigurationExceptionCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.