SsrFallbackController

@Controller(value = "/notfound")
open class SsrFallbackController

Server-Side Rendering controller for handling 404 fallback.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@Inject
lateinit var ssrEngine: SsrEngine

Functions

Link copied to clipboard
@Produces(value = ["text/html"])
@Error(status = HttpStatus.NOT_FOUND, global = true)
suspend fun forward(request: HttpRequest<*>): HttpResponse<*>