public static class OkHttpUrlLoader.Factory extends Object implements com.bumptech.glide.load.model.ModelLoaderFactory<com.bumptech.glide.load.model.GlideUrl,InputStream>
OkHttpUrlLoaders.| Constructor and Description |
|---|
OkHttpUrlLoader.Factory()
Constructor for a new Factory that runs requests using a static singleton client.
|
OkHttpUrlLoader.Factory(okhttp3.Call.Factory client)
Constructor for a new Factory that runs requests using given client.
|
| Modifier and Type | Method and Description |
|---|---|
com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,InputStream> |
build(Context context,
com.bumptech.glide.load.model.GenericLoaderFactory factories) |
void |
teardown() |
public OkHttpUrlLoader.Factory()
public OkHttpUrlLoader.Factory(okhttp3.Call.Factory client)
client - this is typically an instance of OkHttpClient.public com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,InputStream> build(Context context, com.bumptech.glide.load.model.GenericLoaderFactory factories)
build in interface com.bumptech.glide.load.model.ModelLoaderFactory<com.bumptech.glide.load.model.GlideUrl,InputStream>public void teardown()
teardown in interface com.bumptech.glide.load.model.ModelLoaderFactory<com.bumptech.glide.load.model.GlideUrl,InputStream>