Example usage for Java android.webkit WebResourceResponse fields, constructors, methods, implement or subclass
The text is from its open source code.
WebResourceResponse(String mimeType, String encoding, InputStream data) Constructs a resource response with the given MIME type, character encoding, and input stream. | |
WebResourceResponse(String mimeType, String encoding, int statusCode, @NonNull String reasonPhrase, Map Constructs a resource response with the given parameters. |
InputStream | getData() Gets the input stream that provides the resource response's data. |