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

4.x: Refactor Http class #7570

Merged
merged 8 commits into from Sep 12, 2023
Merged

Conversation

tomas-langer
Copy link
Member

@tomas-langer tomas-langer commented Sep 11, 2023

Description

Move inner classes from io.helidon.http.Http to stand alone classes.
This is to prepare for HTTP declarative endpoints, where annotations will be inner classes of Http class.

Each commit is one class moved. Last commit is tying up loose ends

Documentation

I did not refactor documentation, there are a few places that use these types and must be fixed.

The following types have been moved (from -> to):

  1. Http.Method -> io.helidon.http.Method
  2. Http.Status -> io.helidon.http.Status
  3. Http.HeaderName -> io.helidon.http.HeaderName
  4. Http.HeaderNames -> io.helidon.http.HeaderNames
  5. Http.Header -> io.helidon.http.Header
  6. Http.HeaderValueWriteable -> io.helidon.http.HeaderWriteable
  7. Http.Headers -> io.helidon.http.HeaderValues
  8. Http.DateTime -> io.helidon.http.DateTime

@tomas-langer tomas-langer added this to the 4.0.0-RC1 milestone Sep 11, 2023
@tomas-langer tomas-langer self-assigned this Sep 11, 2023
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 11, 2023
@tomas-langer tomas-langer merged commit 7dce029 into helidon-io:main Sep 12, 2023
12 checks passed
@tomas-langer tomas-langer deleted the 7525-http-class branch September 12, 2023 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x api-change 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

3 participants