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

Content.Source from methods #11949

Merged
merged 4 commits into from
Jun 25, 2024

Conversation

gregw
Copy link
Contributor

@gregw gregw commented Jun 24, 2024

Introduce Content.Source#from methods to isolate usage from specific implementations.
Moved the new ByteChannelContentSource to internal, so it no longer needs to be introduced as a deprecated class.

These isolate code from specific implementations (which could even be made internal)
These isolate code from specific implementations, some of which are now internal
Copy link
Contributor

@lachlan-roberts lachlan-roberts left a comment

Choose a reason for hiding this comment

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

I like the Content.Source.from() methods.

Just a few changes to suggest.

@gregw gregw requested a review from joakime June 24, 2024 22:04
@gregw gregw merged commit 718c6fc into jetty-12.0.x Jun 25, 2024
10 checks passed
@gregw gregw deleted the experiment/jetty-12.0.x/ContentSourceFrom branch June 25, 2024 02:32
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.

3 participants