setResourceInterceptor

Sets resource interceptor that will be called whenever the HTML converter wants to load any page resource (image, stylesheet, JavaScript etc.). Use this if you want to inject custom resources that are otherwise not accessible from the base URL or when you want to override default resource resolution.

Parameters

resourceInterceptor

Interceptor to use or null to reset the interceptor.