Package com.bumptech.glide.load.model
Class UrlUriLoader.StreamFactory
java.lang.Object
com.bumptech.glide.load.model.UrlUriLoader.StreamFactory
- All Implemented Interfaces:
ModelLoaderFactory<Uri,InputStream>
- Direct Known Subclasses:
HttpUriLoader.Factory
- Enclosing class:
- UrlUriLoader<Data>
public static class UrlUriLoader.StreamFactory
extends Object
implements ModelLoaderFactory<Uri,InputStream>
Loads
InputStreams from Uris with http or
https schemes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(MultiModelLoaderFactory multiFactory) Build a concrete ModelLoader for this model type.voidteardown()A lifecycle method that will be called when this factory is about to replaced.
-
Constructor Details
-
StreamFactory
public StreamFactory()
-
-
Method Details
-
build
Description copied from interface:ModelLoaderFactoryBuild a concrete ModelLoader for this model type.- Specified by:
buildin interfaceModelLoaderFactory<Uri,InputStream> - Parameters:
multiFactory- A map of classes to factories that can be used to construct additionalModelLoaders that this factory'sModelLoadermay depend on- Returns:
- A new
ModelLoader
-
teardown
public void teardown()Description copied from interface:ModelLoaderFactoryA lifecycle method that will be called when this factory is about to replaced.- Specified by:
teardownin interfaceModelLoaderFactory<Uri,InputStream>
-