Class TestConfiguration.ErrorRestController

java.lang.Object
org.bremersee.exception.model.app.TestConfiguration.ErrorRestController
Enclosing class:
TestConfiguration

@RestController public static class TestConfiguration.ErrorRestController extends Object
The error rest controller.
  • Constructor Details

    • ErrorRestController

      public ErrorRestController()
  • Method Details

    • produceSpringError

      @GetMapping(path="/spring-error", produces={"application/xml","application/json"}) public org.springframework.http.ResponseEntity<String> produceSpringError()
      Produce spring error response entity.
      Returns:
      the response entity