Greg Wilkins
a494afa635
fix #8448 Blocking is not complete
...
Use FutureCallback when usage is optional
2022-08-11 15:26:20 +10:00
Ludovic Orban
fb0290c88a
replace ROOT references with root()
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-08-03 12:51:57 +02:00
Ludovic Orban
f943d095f4
rework ResourceFactory and Resource according to redux3 prototype
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-08-03 11:32:21 +02:00
Jan Bartel
ef1cd2b35d
Remove deprecated classes from annotation initialization.
2022-08-02 12:00:59 +10:00
Olivier Lamy
4c03c7dddf
jetty 12.0.x test ee8 sessions ( #8361 )
...
* add test-jetty-ee8 sessions tests modules
* add test ee8 session suites
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2022-08-01 12:16:07 +10:00
Olivier Lamy
be7056e174
jetty 12.0.x ee8 enable websocket tests ( #8313 )
...
* renable tests for jetty-ee8-websocket-javax-tests
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2022-07-20 17:50:35 +10:00
Joakim Erdfelt
7fb119bb32
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
2022-07-18 12:50:16 -05:00
Jan Bartel
b6d8bcb7b4
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-ee9-demos
2022-07-13 10:05:35 +10:00
Lachlan Roberts
49afcfb846
fix JettyWebSocketRestartTest
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-07-12 10:46:56 +10:00
Lachlan Roberts
de6e6d16ed
fix handling of connection close header during websocket upgrade
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-07-12 10:46:56 +10:00
Lachlan Roberts
89ba826cb1
save parameters in the core UpgradeRequest
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-07-12 10:46:56 +10:00
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
Olivier Lamy
7062db01b1
enable mapping websocket ee9 to ee8 ( #8279 )
...
* websocket ee9 to ee8 dynamic generation
* temporary disable tests for jetty-ee8-plus
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2022-07-11 21:23:44 +10:00
Jan Bartel
d03193a770
WIP make ee9 demos work
2022-07-11 16:43:35 +10:00
Greg Wilkins
676833e57e
Jetty-12 Improved Content testing and javadoc ( #8263 )
...
Improved Content javadoc
Fixed ContentSourceTest that was consuming the same ByteBufferSource multiple times.
Using ByteBufferPool.NOOP instead of allocating NoopByteBufferPool.
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2022-07-08 14:52:28 +02:00
Greg Wilkins
4c827b986c
Minor renaming for clarity
...
Renamed Blocking to Blocker
Added Handler.Processor.Blocking and Handler.Processor.NonBlocking
2022-07-07 19:38:23 +10:00
Greg Wilkins
b6671d6352
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
2022-07-04 16:04:11 +10:00
Lachlan Roberts
c8e6bbdf1b
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
2022-06-29 17:28:06 +10:00
Lachlan Roberts
ee02d163c3
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-29 17:22:20 +10:00
Jan Bartel
5c267ce7ed
Jetty 12.0.x eex jettymavenplugin ( #8200 )
...
* Fix ee9/10 jetty maven plugin and refactor it tests
2022-06-29 17:18:18 +10:00
Lachlan Roberts
d05d6634a6
re-enable JettyClientClassLoaderTest
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-28 16:24:52 +10:00
Lachlan Roberts
b1a1a60994
fix JettyWebSocketFilterTest in ee9-websocket
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-28 16:24:52 +10:00
Lachlan Roberts
6ce10d67f7
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-ee9-websocket
2022-06-24 12:48:30 +10:00
Lachlan Roberts
3c92cf6fec
re-enable WebAppClassLoaderTest for websocket ee9 & ee10
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-24 11:27:19 +10:00
Lachlan Roberts
79385c79b3
re-enable OnMessageReturnTest for websocket ee9 & ee10
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-24 11:25:07 +10:00
Lachlan Roberts
1e532032f3
re-enable LargeAnnotatedTest for websocket ee9 & ee10
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-24 11:23:22 +10:00
Lachlan Roberts
ac68dd05a6
re-enable EndpointViaConfigTest for websocket ee9 & ee10
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-24 10:55:02 +10:00
Lachlan Roberts
c6206c9b6f
re-enable JakartaClientShutdownWithServerWebAppTest for websocket ee9 & ee10
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-24 10:54:05 +10:00
Lachlan Roberts
69b6eb1f3e
re-enable ContainerProviderServerTest for websocket ee9 & ee10
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-24 10:50:57 +10:00
Lachlan Roberts
300f219b25
re-enable LargeContainerTest for websocket ee9 & ee10
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-24 10:50:08 +10:00
Lachlan Roberts
a85e80269b
reenable PingPongTest for websocket ee9 and ee10
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-24 10:44:47 +10:00
Lachlan Roberts
82d7bb5669
fix and improve AltFilterTest in websocket ee9 and ee10
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-23 16:15:03 +10:00
Lachlan Roberts
08a8e8d4e4
fix websocket compile issue
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-22 17:34:45 +10:00
Lachlan Roberts
10ad518da9
fixed websocket JakartaClientClassLoaderTest for ee9 and ee10
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-22 16:59:41 +10:00
Lachlan Roberts
be2b231b08
fix websocket IdleTimeoutTest for ee9 and ee10
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-22 16:57:01 +10:00
Lachlan Roberts
52d044f742
Merge remote-tracking branch 'origin/jetty-12.0.x-ee9-websocket' into jetty-12.0.x
2022-06-22 13:21:59 +10:00
Lachlan Roberts
e9b8dc14bc
disable failing ee9 jetty websocket tests
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-21 13:25:19 +10:00
Lachlan Roberts
9756a15f57
disable failing ee9 jakarta websocket tests
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-21 13:00:58 +10:00
Lachlan Roberts
189b96da8c
fix JakartaWebSocketRestartTest
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-20 20:24:24 +10:00
Lachlan Roberts
10c27903d3
progress on fixing tests for ee9 websocket
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-17 11:29:27 +10:00
Lachlan Roberts
1ee5904450
fix compile errors for ee10 websocket
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-16 17:51:23 +10:00
Joakim Erdfelt
45b899cb7a
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
2022-06-15 15:07:38 -05:00
Joakim Erdfelt
385f00f72b
Merge remote-tracking branch 'jetty-11.0.x' into `jetty-12.0.x`
2022-05-11 16:52:08 -05:00
Olivier Lamy
ab0bb9911f
change groupId org.eclipse.jetty.ee10 -> org.eclipse.jetty.ee10.websocket for websocket ( #7954 )
...
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2022-05-04 20:35:34 +10:00
Greg Wilkins
04acdb72f0
Jetty-12 Restructure
...
Copied over non ee10 components from the hackathon branch
Co-authored-by: Greg Wilkins <gregw@webtide.com>
Co-authored-by: Jan Bartel <janb@webtide.com>
Co-authored-by: Joakim Erdfelt <joakim@webtide.com>
Co-authored-by: Lachlan Roberts <lachlan@webtide.com>
Co-authored-by: Ludovic Orban <lorban@webtide.com>
Co-authored-by: Olivier Lamy <olamy@webtide.com>
Co-authored-by: Simone Bordet <sbordet@webtide.com>
2022-05-03 15:50:54 +02:00
Greg Wilkins
825fa75993
Jetty-12 Restructure
...
Git moved files into their known new locations
Co-authored-by: Greg Wilkins <gregw@webtide.com>
Co-authored-by: Jan Bartel <janb@webtide.com>
Co-authored-by: Joakim Erdfelt <joakim@webtide.com>
Co-authored-by: Lachlan Roberts <lachlan@webtide.com>
Co-authored-by: Ludovic Orban <lorban@webtide.com>
Co-authored-by: Olivier Lamy <olamy@webtide.com>
Co-authored-by: Simone Bordet <sbordet@webtide.com>
2022-05-03 15:46:22 +02:00