Example usage for org.springframework.boot.web.server ErrorPageRegistry interface-usage

List of usage examples for org.springframework.boot.web.server ErrorPageRegistry interface-usage

Introduction

In this page you can find the example usage for org.springframework.boot.web.server ErrorPageRegistry interface-usage.

Usage

From source file org.springframework.boot.web.servlet.support.ErrorPageFilter.java

/**
 * A Servlet {@link Filter} that provides an {@link ErrorPageRegistry} for non-embedded
 * applications (i.e. deployed WAR files). It registers error pages and handles
 * application errors by filtering requests and forwarding to the error pages instead of
 * letting the server handle them. Error pages are a feature of the servlet spec but there
 * is no Java API for registering them in the spec. This filter works around that by