Interface ShowHttpErrorPageCallback

All Superinterfaces:
Callback, NavigationCallback, NavigationSyncCallback<ShowHttpErrorPageCallback.Params,ShowHttpErrorPageCallback.Response>, SyncCallback<ShowHttpErrorPageCallback.Params,ShowHttpErrorPageCallback.Response>

This callback is invoked when the engine is about to display an error web page because the web server sends an empty HTTP response with the HTTP status code that represents an error.

Use ShowHttpErrorPageCallback.Response.show(String) to show the custom error page with the given HTML.

Use ShowHttpErrorPageCallback.Response.showDefault() to display the default Chromium error page.

Important: the engine will be blocked until you return control from the callback.

Since:
7.2