Class TestErrorWebController

java.lang.Object
com.endurancetrio.app.common.web.test.TestErrorWebController

@EnduranceTrioWebController @Profile("local") public class TestErrorWebController extends Object
The TestErrorWebController provides endpoints for testing error pages during local development. It is only active when the local Spring profile is enabled and is never instantiated in production deployments.
  • Constructor Details

    • TestErrorWebController

      public TestErrorWebController()
  • Method Details

    • trigger403

      @GetMapping("/{language:en|pt}/test/error-403") public String trigger403(@PathVariable String language)
    • trigger404

      @GetMapping("/{language:en|pt}/test/error-404") public String trigger404(@PathVariable String language)
    • trigger500

      @GetMapping("/{language:en|pt}/test/error-500") public String trigger500(@PathVariable String language)