Interface ShowNetErrorPageCallback.Response
- Enclosing interface:
- ShowNetErrorPageCallback
public static interface ShowNetErrorPageCallback.Response
A response for
ShowNetErrorPageCallback.-
Method Summary
Static MethodsModifier and TypeMethodDescriptionNotifies the browser that it should display a network error page with the given HTML.Notifies the browser that it should display the default network error page.
-
Method Details
-
show
Notifies the browser that it should display a network error page with the given HTML.- Parameters:
html- the HTML code of the network error page to display- Throws:
IllegalArgumentException- when the givenhtmlis empty
-
showDefault
Notifies the browser that it should display the default network error page.
-