@Override
    public LoadData<InputStream> buildLoadData(@NonNull GlideUrl model, int width, int height,
                                               @NonNull Options options) {
        return new LoadData<>(model, new OkHttpStreamFetcher(client, model));
    }
A simple model loader for fetching media over http/https using OkHttp.
arms/src/main/java/com/jess/arms/http/OkHttpUrlLoader.java