public class OkHttpStreamFetcher extends Object implements com.bumptech.glide.load.data.DataFetcher<InputStream>
InputStream using the okhttp library.| Constructor and Description |
|---|
OkHttpStreamFetcher(okhttp3.Call.Factory client,
com.bumptech.glide.load.model.GlideUrl url) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
cleanup() |
Class<InputStream> |
getDataClass() |
com.bumptech.glide.load.DataSource |
getDataSource() |
void |
loadData(com.bumptech.glide.Priority priority,
com.bumptech.glide.load.data.DataFetcher.DataCallback<? super InputStream> callback) |
public OkHttpStreamFetcher(okhttp3.Call.Factory client,
com.bumptech.glide.load.model.GlideUrl url)
public void loadData(com.bumptech.glide.Priority priority,
com.bumptech.glide.load.data.DataFetcher.DataCallback<? super InputStream> callback)
loadData in interface com.bumptech.glide.load.data.DataFetcher<InputStream>public void cleanup()
cleanup in interface com.bumptech.glide.load.data.DataFetcher<InputStream>public void cancel()
cancel in interface com.bumptech.glide.load.data.DataFetcher<InputStream>public Class<InputStream> getDataClass()
getDataClass in interface com.bumptech.glide.load.data.DataFetcher<InputStream>public com.bumptech.glide.load.DataSource getDataSource()
getDataSource in interface com.bumptech.glide.load.data.DataFetcher<InputStream>