ErrorPage

open class ErrorPage

Simple server-independent abstraction for error pages. Roughly equivalent to the <error-page> element traditionally found in web.xml.

Author

Dave Syer

Since

2.0.0

Constructors

Link copied to clipboard
constructor(path: String)
constructor(status: HttpStatus, path: String)
constructor(exception: Class<out Throwable>, path: String)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
The exception type name.
Link copied to clipboard
open fun getStatusCode(): Int
The HTTP status value that this error page matches.
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun isGlobal(): Boolean
Return if this error page is a global one (matches all unmatched status and exception types).