Skip to content

Use spring-web's HttpStatusCode to model a response's status #848

Closed
@wilkinsona

Description

@wilkinsona

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.

Metadata

Metadata

Assignees

Labels

type: enhancementEnhancement that adds a new feature

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions