接口 ErrorPageRegistry
- 所有已知实现类:
AbstractConfigurableEmbeddedServletContainer
,AbstractEmbeddedServletContainerFactory
,ErrorPageFilter
,JettyEmbeddedServletContainerFactory
,TomcatEmbeddedServletContainerFactory
,UndertowEmbeddedServletContainerFactory
public interface ErrorPageRegistry
Interface for a registry that holdsErrorPages
.- 从以下版本开始:
- 1.4.0
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
addErrorPages(ErrorPage... errorPages)
Adds error pages that will be used when handling exceptions.
方法详细资料
addErrorPages
void addErrorPages(ErrorPage... errorPages)
Adds error pages that will be used when handling exceptions.- 参数:
errorPages
- the error pages