Closed
Description
Previously a mixture of spring-web's HttpStatus
and int
were used for a response's status. The latter was required to support non-standard statuses that are not part of the HttpStatus
enum. Spring Framework 6 has introduced a new HttpStatusCode
interface that supports non-standard codes. By moving to HttpStatusCode
we can simplify the modelling of a response's status.