public class OkHTTPUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
saveBinaryFileFromResponse(android.content.Context context,
java.lang.String filename,
Response response)
Save the response as a binary file i.e html file.
|
public static void saveBinaryFileFromResponse(android.content.Context context, java.lang.String filename, Response response) throws java.io.IOException
context
- the contextfilename
- the filenameresponse
- the responsejava.io.IOException
- the io exception