public class UrlModuleSourceProvider extends ModuleSourceProviderBase
NOT_MODIFIED
Constructor and Description |
---|
UrlModuleSourceProvider(java.lang.Iterable<java.net.URI> privilegedUris,
java.lang.Iterable<java.net.URI> fallbackUris)
Creates a new module script provider that loads modules against a set of
privileged and fallback URIs.
|
UrlModuleSourceProvider(java.lang.Iterable<java.net.URI> privilegedUris,
java.lang.Iterable<java.net.URI> fallbackUris,
UrlConnectionExpiryCalculator urlConnectionExpiryCalculator,
UrlConnectionSecurityDomainProvider urlConnectionSecurityDomainProvider)
Creates a new module script provider that loads modules against a set of
privileged and fallback URIs.
|
loadSource, loadSource
public UrlModuleSourceProvider(java.lang.Iterable<java.net.URI> privilegedUris, java.lang.Iterable<java.net.URI> fallbackUris)
privilegedUris
- an iterable providing the privileged URIs. Can be
null if no privileged URIs are used.fallbackUris
- an iterable providing the fallback URIs. Can be
null if no fallback URIs are used.public UrlModuleSourceProvider(java.lang.Iterable<java.net.URI> privilegedUris, java.lang.Iterable<java.net.URI> fallbackUris, UrlConnectionExpiryCalculator urlConnectionExpiryCalculator, UrlConnectionSecurityDomainProvider urlConnectionSecurityDomainProvider)
privilegedUris
- an iterable providing the privileged URIs. Can be
null if no privileged URIs are used.fallbackUris
- an iterable providing the fallback URIs. Can be
null if no fallback URIs are used.urlConnectionExpiryCalculator
- the calculator object for heuristic
calculation of the resource expiry, used when no expiry is provided by
the server of the resource. Can be null, in which case the maximum age
of cached entries without validation will be zero.urlConnectionSecurityDomainProvider
- object that provides security
domain objects for the loaded sources. Can be null, in which case the
loaded sources will have no security domain associated with them.Copyright © 2010 - 2020 Adobe. All Rights Reserved