Class OkHttpUrlLoader

java.lang.Object
com.bumptech.glide.integration.okhttp.OkHttpUrlLoader
All Implemented Interfaces:
com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,InputStream>

@Deprecated public class OkHttpUrlLoader extends Object implements com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,InputStream>
Deprecated.
replaced with com.bumptech.glide.integration.okhttp3.OkHttpUrlLoader.
A simple model loader for fetching media over http/https using OkHttp.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Deprecated.
    The default factory for OkHttpUrlLoaders.

    Nested classes/interfaces inherited from interface com.bumptech.glide.load.model.ModelLoader

    com.bumptech.glide.load.model.ModelLoader.LoadData<Data extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
    OkHttpUrlLoader(com.squareup.okhttp.OkHttpClient client)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.bumptech.glide.load.model.ModelLoader.LoadData<InputStream>
    buildLoadData(com.bumptech.glide.load.model.GlideUrl model, int width, int height, com.bumptech.glide.load.Options options)
    Deprecated.
     
    boolean
    handles(com.bumptech.glide.load.model.GlideUrl url)
    Deprecated.
     

    Methods inherited from class java.lang.Object

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

    • OkHttpUrlLoader

      public OkHttpUrlLoader(com.squareup.okhttp.OkHttpClient client)
      Deprecated.
  • Method Details

    • handles

      public boolean handles(@NonNull com.bumptech.glide.load.model.GlideUrl url)
      Deprecated.
      Specified by:
      handles in interface com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,InputStream>
    • buildLoadData

      public com.bumptech.glide.load.model.ModelLoader.LoadData<InputStream> buildLoadData(@NonNull com.bumptech.glide.load.model.GlideUrl model, int width, int height, @NonNull com.bumptech.glide.load.Options options)
      Deprecated.
      Specified by:
      buildLoadData in interface com.bumptech.glide.load.model.ModelLoader<com.bumptech.glide.load.model.GlideUrl,InputStream>