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

Entity Provider for java.nio.file.Path #1274

Open
mkarg opened this issue Jul 6, 2024 · 0 comments
Open

Entity Provider for java.nio.file.Path #1274

mkarg opened this issue Jul 6, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request spec tck

Comments

@mkarg
Copy link
Contributor

mkarg commented Jul 6, 2024

I would like to propose the adoption of the java.nio.file.Path interface to the list of mandatory entity providers.

Since long time, JAX-RS mandates entity providers for the java.io.File class. Since Java SE 7, the NIO2 API provides the java.nio.file.Path interface as a lightweight and more efficient alternative to File. It should simply be straightforward to support Path besides File in modern Jakarta REST.

NB: Upcoming Jersey 3.1.8 already has support for java.nio.file.Path onboard.

@mkarg mkarg self-assigned this Jul 6, 2024
@mkarg mkarg added enhancement New feature or request api spec tck and removed api labels Jul 6, 2024
@mkarg mkarg changed the title Entity Provider for`java.nio.file.Path Entity Provider for java.nio.file.Path Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request spec tck
Projects
None yet
Development

No branches or pull requests

1 participant