Skip to content

Support RESTful Same-Route Multi-Verb Matching + add CI workflow - #6

Merged
shiling merged 9 commits into
masterfrom
update-servlet
Aug 6, 2026
Merged

Support RESTful Same-Route Multi-Verb Matching + add CI workflow#6
shiling merged 9 commits into
masterfrom
update-servlet

Conversation

@shiling

@shiling shiling commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

RESTful Multi-Verb Same-Route Matching

Multi-Verb Path Delegation: Enabled mapping of multiple controller methods to the identical path string but restricted to separate HTTP verbs (e.g. mapping GET /api/resource to one handler, and POST /api/resource or DELETE /api/resource to others).
Duplicate Verb Conflict Verification: Implemented strict collision detection at registration initialization time. If overlapping HTTP verbs are registered on the same route path (e.g., two GET handlers or a specific verb and an unrestricted/omitted verb handler), an IllegalStateException is thrown instantly.
Universal Request Interception: Validated and ensured that @RequestBefore and @RequestAfter interceptors on identical paths match seamlessly on all incoming requests regardless of the specific HTTP verb executed by the client.

CI Workflow Configuration

Automated CI Workflow: Configured .github/workflows/gh-build-test.yml inside the repository to run on all pushes and pull requests to master.

Minor

  • updated dstack dependency to v 4.1.12
  • version bump to 4.1.13

@shiling
shiling merged commit ce9a454 into master Aug 6, 2026
1 check passed
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.

1 participant