8000 Refactor enkan-web digest/signature HTTP field package boundaries by kawasima · Pull Request #167 · enkan/enkan · GitHub
[go: up one dir, main page]

Skip to content

Refactor enkan-web digest/signature HTTP field package boundaries - #167

Merged
kawasima merged 2 commits into
developfrom
refactor/enkan-web-http-fields-packages
Apr 5, 2026
Merged

kawasima merged 2 commits into
developfrom
refactor/enkan-web-http-fields-packages

Conversation

@kawasima
@kawasima kawasima commented Apr 5, 2026
Copy link
Copy Markdown
Collaborator

Summary

  • move RFC 8941 Structured Fields implementation from enkan.web.util.sf to enkan.web.http.fields.sf
  • move digest helper from enkan.web.util.DigestFieldsUtils to enkan.web.http.fields.digest.DigestFields
  • update signature, digest validation, and idempotency key code paths to import the new protocol-oriented packages
  • update module-info.java exports to publish enkan.web.http.fields.sf and enkan.web.http.fields.digest
  • migrate related tests to the new package layout

Why

signature had a dedicated protocol package while Digest/Structured Fields lived under util, which made domain boundaries asymmetric. This change aligns them as HTTP field/protocol primitives instead of generic utils.

Validation

  • mvn -q -pl enkan-web -am test

@kawasima
kawasima merged commit 877510d into develop Apr 5, 2026
1 check passed
@kawasima
kawasima deleted the refactor/enkan-web-http-fields-packages branch April 5, 2026 02:19
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

0