com.bumptech.glide.integration.cronet.CronetRequestFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cronet-integration Show documentation
Show all versions of cronet-integration Show documentation
An integration library to use Cronet to fetch data over http/https in Glide
package com.bumptech.glide.integration.cronet;
import java.util.Map;
import org.chromium.net.UrlRequest;
/** Factory to build custom cronet requests. */
public interface CronetRequestFactory {
UrlRequest.Builder newRequest(
String url, int requestPriority, Map headers, UrlRequest.Callback listener);
}