jetty.project/jetty-core/jetty-quic
Ludovic Orban 23a0203547 rework Resource API (#8106)
* remove Resource.getFile() and replace its usages with Resource.getPath()
* remove all public PathResource ctors + add non-leaky FS mounting mechanism + interpret string as Path when not a schemed URI
* rename Resource.getResource to Resource.resolve, specifying that the subpath is URI-path-interpreted
* remove useless API methods + deprecate all path-related API
* make subpaths beginning with / resolved as relative to the given uri
* introduce filesystem pooling and generalize resource resolving code
* remove URLResource
* remove unneeded factory method
* both file: and jrt: should not be pooled
* move deprecated impls from PathResource down to Resource + fix some tests
* handle Resource's pointing to non-existent jar files
* Force Resource URIs to end with "/" when the resource is a directory
* Produce warning if attempting to release a mounted filesystem uri that doesn't exist in the pool.

Co-authored-by: Greg Wilkins <gregw@webtide.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Ludovic Orban <lorban@bitronix.be>
2022-07-12 10:10:30 +10:00
..
quic-client Rewrite of the content handling, both on client and on server. (#7985) 2022-05-30 13:34:51 +02:00
quic-common Jetty-12 Restructure 2022-05-03 15:50:54 +02:00
quic-quiche rework Resource API (#8106) 2022-07-12 10:10:30 +10:00
quic-server rework Resource API (#8106) 2022-07-12 10:10:30 +10:00
pom.xml Jetty-12 Restructure 2022-05-03 15:50:54 +02:00