You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 thejava.nio.file.Path
interface as a lightweight and more efficient alternative toFile
. It should simply be straightforward to supportPath
besidesFile
in modern Jakarta REST.NB: Upcoming Jersey 3.1.8 already has support for
java.nio.file.Path
onboard.The text was updated successfully, but these errors were encountered: