Package 

Class OkHttpUrlLoader

  • All Implemented Interfaces:
    com.bumptech.glide.load.model.ModelLoader

    
    public class OkHttpUrlLoader
     implements ModelLoader<GlideUrl, InputStream>
                        

    A simple model loader for fetching media over http/https using OkHttp.

    • Constructor Summary

      Constructors 
      Constructor Description
      OkHttpUrlLoader(Call.Factory client)
    • Method Summary

      Modifier and Type Method Description
      boolean handles(@NonNull() GlideUrl url)
      ModelLoader.LoadData<InputStream> buildLoadData(@NonNull() GlideUrl model, int width, int height, @NonNull() Options options)
      • Methods inherited from class com.bumptech.glide.load.model.ModelLoader

        buildLoadData, handles
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OkHttpUrlLoader

        OkHttpUrlLoader(Call.Factory client)