public static interface ShowHttpErrorPageCallback.Response
ShowHttpErrorPageCallback
.Modifier and Type | Method and Description |
---|---|
static ShowHttpErrorPageCallback.Response |
show(java.lang.String html)
Notifies the browser that it should display an error page with the given HTML.
|
static ShowHttpErrorPageCallback.Response |
showDefault()
Notifies the browser that it should display the default error page.
|
static ShowHttpErrorPageCallback.Response show(java.lang.String html)
html
- the HTML code of the error page to displayjava.lang.IllegalArgumentException
- when the given html
is emptystatic ShowHttpErrorPageCallback.Response showDefault()