Skip to content

feat: Add Response factories for common statuses - #127

Merged
thced merged 1 commit into
masterfrom
feat/response-convenience-factories
Sep 25, 2026
Merged

thced merged 1 commit into
masterfrom
feat/response-convenience-factories

Conversation

@thced

@thced thced commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Adds ok(), noContent(), notModified(), badRequest(), unauthorized(), forbidden(), conflict(), internalServerError(), methodNotAllowed(...) and JSON-body variants for 400/403/409/422, so handlers no longer need HttpURLConnection constants. Handlers and Cors use them.

Adds ok(), noContent(), notModified(), badRequest(), unauthorized(),
forbidden(), conflict(), internalServerError(), methodNotAllowed(...)
and JSON-body variants for 400/403/409/422, so handlers no longer need
HttpURLConnection constants. Handlers and Cors use them.
@sonarqubecloud

Copy link
Copy Markdown

@thced
thced merged commit c5ef722 into master Sep 25, 2026
5 checks passed
@thced
thced deleted the feat/response-convenience-factories branch September 25, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants