Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header and Media type API consistency #7351

Merged
merged 7 commits into from Aug 11, 2023

Conversation

tomas-langer
Copy link
Member

Resolves #7058

New state can be found in common/http/README.md

Changes for users:

  1. Http.HeaderNames - known header names and factory methods for HeaderName (used to be Header)
  2. Http.Header - header name and value (used to be HeaderValue)
  3. Http.Headers - known headers and factory methods for Header (used to be Header and HeaderValues)
  4. Additional factory and instance methods now exist to align signatures (methods with String as header name, and methods with int and long as header value)
  5. Known HttpMediaTypes are now in HttpMediaTypes, values without parameters should be used from MediaTypes

@tomas-langer tomas-langer self-assigned this Aug 10, 2023
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 10, 2023
@tomas-langer tomas-langer added this to the 4.0.0-M2 milestone Aug 10, 2023
Fixes in HTTP template for APT to use new Header API
@tomas-langer tomas-langer merged commit 03daf27 into helidon-io:main Aug 11, 2023
12 checks passed
@tomas-langer tomas-langer deleted the 7058-api-consistency branch August 11, 2023 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants