Interface ShowHttpErrorPageCallback.Response
- Enclosing interface:
- ShowHttpErrorPageCallback
public static interface ShowHttpErrorPageCallback.Response
A response for
ShowHttpErrorPageCallback
.-
Method Summary
Modifier and TypeMethodDescriptionNotifies the browser that it should display an error page with the given HTML.Notifies the browser that it should display the default error page.
-
Method Details
-
show
Notifies the browser that it should display an error page with the given HTML.- Parameters:
html
- the HTML code of the error page to display- Throws:
IllegalArgumentException
- when the givenhtml
is empty
-
showDefault
Notifies the browser that it should display the default error page.
-