AbstractImageSessionContext.RestrictedFallbackResolver, AbstractImageSessionContext.UnrestrictedFallbackResolverpublic static interface AbstractImageSessionContext.FallbackResolver
Source that wraps resources. This interface allows clients to define their own
implementations so that they have fine-grained control over how resources are acquired.| Modifier and Type | Method | Description |
|---|---|---|
Source |
createSource(Source source,
String uri) |
The fallback mechanism used to create the source which takes in both the
Source
that the the regular mechanisms attempted to create and the URI that the user provided. |
Source createSource(Source source, String uri)
Source
that the the regular mechanisms attempted to create and the URI that the user provided.source - the sourceuri - the URI provided by the userCopyright © 2018 Apache Software Foundation. All rights reserved.