jetty.project/tests
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
..
jetty-ee9-test-maven-plugin Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2022-07-07 23:18:17 +10:00
jetty-ee10-test-maven-plugin rework Resource API (#8106) 2022-07-12 10:10:30 +10:00
jetty-jmh Merge Release 11.0.11 back into `jetty-11.0.x` (#8193) 2022-06-22 16:24:57 -05:00
test-distribution reenable ee10 distribution tests 2022-07-08 09:52:20 +10:00
test-jpms Merge Release 11.0.11 back into `jetty-11.0.x` (#8193) 2022-06-22 16:24:57 -05:00
pom.xml reenable ee9 distribution tests 2022-07-08 09:51:29 +10:00