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

Fixes #9288 - Jetty 12 - Use oej.http.HttpCookie in jetty-client. #9289

Merged
merged 5 commits into from
Feb 7, 2023

Conversation

sbordet
Copy link
Contributor

@sbordet sbordet commented Feb 2, 2023

  • Replaced usages of java.net.HttpCookie with oej.http.HttpCookie.
  • Moved server-side only methods from HttpCookie to HttpCookieUtils.
  • Introduced and implemented oej.http.HttpCookieStore.
  • Removed now obsolete oej.util.HttpCookieStore.

Signed-off-by: Simone Bordet simone.bordet@gmail.com

@sbordet sbordet linked an issue Feb 2, 2023 that may be closed by this pull request
@sbordet sbordet requested a review from gregw February 2, 2023 10:15
@sbordet sbordet force-pushed the fix/jetty-12-review-client-cookies branch from 7a3d7e2 to 7357322 Compare February 2, 2023 14:30
@sbordet sbordet marked this pull request as ready for review February 2, 2023 14:31
@sbordet sbordet force-pushed the fix/jetty-12-review-client-cookies branch from 7111a7e to efe58fe Compare February 4, 2023 17:34
@sbordet sbordet requested a review from gregw February 6, 2023 16:44
* Replaced usages of java.net.HttpCookie with oej.http.HttpCookie.
* Moved server-side only methods from HttpCookie to HttpCookieUtils.
* Introduced and implemented oej.http.HttpCookieStore.
* Removed now obsolete oej.util.HttpCookieStore.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
* Introduced HttpScheme.isSecure(String), to avoid code duplication.
* Fixed handling of cookie "localhost" domain in HttpClient.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Removed unused methods.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@sbordet sbordet force-pushed the fix/jetty-12-review-client-cookies branch from efe58fe to 4b7d274 Compare February 6, 2023 16:46
@gregw
Copy link
Contributor

gregw commented Feb 6, 2023

@sbordet please don't force push. There is no need for that as we squash when we merge.
If you force push you screw up all the tracking of commits. I can't see what has changed since my last review (there is a reason the options are called -fu )

Copy link
Contributor

@gregw gregw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few niggles, but otherwise I can't see any problems.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
@sbordet sbordet merged commit d02932f into jetty-12.0.x Feb 7, 2023
@sbordet sbordet deleted the fix/jetty-12-review-client-cookies branch February 7, 2023 16:28
gregpoulos pushed a commit to gregpoulos/jetty.project that referenced this pull request Feb 7, 2023
…x-documentation-operations-logging

* upstream/jetty-12.0.x:
  Jetty 12: Cleanup `StatisticsHandler` (jetty#9291)
  Fixes jetty#9288 - Jetty 12 - Use oej.http.HttpCookie in jetty-client. (jetty#9289)
  Redo Handler renaming (jetty#9318)
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.

Jetty 12 - Use oej.http.HttpCookie in jetty-client
3 participants