Resource Response
class ResourceResponse
Encapsulates resource response. Custom response can be returned in shouldInterceptRequest to override HTML page loading.
Constructors
Link copied to clipboard
Constructs a resource response provided by the input stream.
Constructs a resource response provided by the input stream.
Constructs a resource response provided by the data provider.
constructor(@NonNull dataProvider: DataProvider, @NonNull mimeType: String, @NonNull charset: String)
Constructs a resource response provided by the data provider.