public class OkHttpStreamFetcher
extends java.lang.Object
InputStream using the okhttp library.| Constructor and Description |
|---|
OkHttpStreamFetcher(Call.Factory client,
GlideUrl url) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
cleanup() |
java.lang.Class<java.io.InputStream> |
getDataClass() |
DataSource |
getDataSource() |
void |
loadData(Priority priority,
<any> callback) |
void |
onFailure(Call call,
java.io.IOException e) |
void |
onResponse(Call call,
Response response) |
public OkHttpStreamFetcher(Call.Factory client,
GlideUrl url)
public void loadData(Priority priority,
<any> callback)
public void onFailure(Call call,
java.io.IOException e)
public void onResponse(Call call,
Response response)
public void cleanup()
public void cancel()
public java.lang.Class<java.io.InputStream> getDataClass()
public DataSource getDataSource()