NotFoundController
Default built-in controller which handles 404 Not Found
events.
Functions
Link copied to clipboard
@Get(value = "/error/notfound", produces = ["text/html", "application/json"] )
@Error(status = HttpStatus.NOT_FOUND, global = true)
Link copied to clipboard
Responds to a client with an HTML response, using specified block to build an HTML page via Kotlin's HTML DSL.