public interface ErrorPageApi
Modifier and Type | Method and Description |
---|---|
void |
create(String content)
Specify the HTML content for the custom error page.
|
boolean |
delete()
If a custom error page is deleted, or the load balancer is changed to a non-HTTP protocol, the default error
page will be restored.
|
String |
get()
Get the error page HTML content.
|
@Named(value="errorpage:create") void create(String content)
@Named(value="errorpage:get") String get()
@Named(value="errorpage:delete") boolean delete()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.