Class OkHttpStreamFetcher
java.lang.Object
com.bumptech.glide.integration.okhttp.OkHttpStreamFetcher
- All Implemented Interfaces:
com.bumptech.glide.load.data.DataFetcher<InputStream>
@Deprecated
public class OkHttpStreamFetcher
extends Object
implements com.bumptech.glide.load.data.DataFetcher<InputStream>
Deprecated.
replaced with com.bumptech.glide.integration.okhttp3.OkHttpStreamFetcher.
Fetches an
InputStream using the okhttp library.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.bumptech.glide.load.data.DataFetcher
com.bumptech.glide.load.data.DataFetcher.DataCallback<T extends Object> -
Constructor Summary
ConstructorsConstructorDescriptionOkHttpStreamFetcher(com.squareup.okhttp.OkHttpClient client, com.bumptech.glide.load.model.GlideUrl url) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Deprecated.voidcleanup()Deprecated.Deprecated.com.bumptech.glide.load.DataSourceDeprecated.voidloadData(com.bumptech.glide.Priority priority, com.bumptech.glide.load.data.DataFetcher.DataCallback<? super InputStream> callback) Deprecated.
-
Constructor Details
-
OkHttpStreamFetcher
public OkHttpStreamFetcher(com.squareup.okhttp.OkHttpClient client, com.bumptech.glide.load.model.GlideUrl url) Deprecated.
-
-
Method Details
-
loadData
public void loadData(@NonNull com.bumptech.glide.Priority priority, @NonNull com.bumptech.glide.load.data.DataFetcher.DataCallback<? super InputStream> callback) Deprecated.- Specified by:
loadDatain interfacecom.bumptech.glide.load.data.DataFetcher<InputStream>
-
cleanup
public void cleanup()Deprecated.- Specified by:
cleanupin interfacecom.bumptech.glide.load.data.DataFetcher<InputStream>
-
cancel
public void cancel()Deprecated.- Specified by:
cancelin interfacecom.bumptech.glide.load.data.DataFetcher<InputStream>
-
getDataClass
Deprecated.- Specified by:
getDataClassin interfacecom.bumptech.glide.load.data.DataFetcher<InputStream>
-
getDataSource
@NonNull public com.bumptech.glide.load.DataSource getDataSource()Deprecated.- Specified by:
getDataSourcein interfacecom.bumptech.glide.load.data.DataFetcher<InputStream>
-