Summary
- Getting the reason phrase is now more generic:
- Reasons.getReasonPhrase(404)
- Reasons.getReasonPhrase(666, "Unknown Reason")
- New
StatusCodeclass:- StatusCode.isServerError(500)
- StatusCode.isError(301)
- New
ReasonsClassmethod:- Reasons.getReasonClass(StatusCodeClass.CLIENT_ERROR)
- Support for JDK 25
What's Changed in 2.0.0
- Refactor getReasonPhrase method to be more generic in 95f8296
- Add getReason() static method in 1efd124
- Add null test for escapeXml in d9f397c
- Use int instead of String for the first digit in aef0409
- Add lib/provided location in f9f000f
- Move the Jakarta libs to the provided scope in 735c972
- Refactor Utils class in c978499
- Refactor the main method in 29b061b
- Make description and examples more Java centric in c7c20d3
- Add StatusCodeClass in aa73777
- Add ReasonClass in bf7c0a6
- Bump bld to version 2.3.0 in a378d20
- Add OS matrix for Ubuntu, Windows and macOS in ac1209a
Full Changelog: 1.1.1...2.0.0