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

    Constructors
    Constructor
    Description
    OkHttpStreamFetcher(com.squareup.okhttp.OkHttpClient client, com.bumptech.glide.load.model.GlideUrl url)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
     
    void
    Deprecated.
     
    Deprecated.
     
    com.bumptech.glide.load.DataSource
    Deprecated.
     
    void
    loadData(com.bumptech.glide.Priority priority, com.bumptech.glide.load.data.DataFetcher.DataCallback<? super InputStream> callback)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      loadData in interface com.bumptech.glide.load.data.DataFetcher<InputStream>
    • cleanup

      public void cleanup()
      Deprecated.
      Specified by:
      cleanup in interface com.bumptech.glide.load.data.DataFetcher<InputStream>
    • cancel

      public void cancel()
      Deprecated.
      Specified by:
      cancel in interface com.bumptech.glide.load.data.DataFetcher<InputStream>
    • getDataClass

      @NonNull public Class<InputStream> getDataClass()
      Deprecated.
      Specified by:
      getDataClass in interface com.bumptech.glide.load.data.DataFetcher<InputStream>
    • getDataSource

      @NonNull public com.bumptech.glide.load.DataSource getDataSource()
      Deprecated.
      Specified by:
      getDataSource in interface com.bumptech.glide.load.data.DataFetcher<InputStream>