Class NotFoundController

java.lang.Object
com.erudika.para.server.controllers.NotFoundController

@Controller public class NotFoundController extends Object
A controller that handles 404 Not Found errors.
Author:
Alex Bogdanovski [[email protected]]
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<?>
    get(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res, org.springframework.ui.Model model)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NotFoundController

      public NotFoundController()
  • Method Details

    • get

      @GetMapping("/not-found") public org.springframework.http.ResponseEntity<?> get(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res, org.springframework.ui.Model model)