- All Known Implementing Classes:
- ScriptTagLoadingStrategy.ScriptTagDownloadStrategy, XhrLoadingStrategy.XhrDownloadStrategy
- Enclosing class:
- LoadingStrategyBase
protected static interface LoadingStrategyBase.DownloadStrategy
Subclasses will need to implement this and pass it in in the constructor.
This is how they control how the download will be done (XHR, Script tag, etc.)
If the download succeeds, the DownloadStrategy should call it's
RequestData's tryInstall() function, and if it fails, it should call it's
RequestData's onLoadError() function.