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
Greg Wilkins
fc6a92f426
More work on the demos
2022-07-15 09:18:52 +10:00
Olivier Lamy
ae77d14cf9
add jetty-ee8-jndi ( #8287 )
...
* add jetty-ee8-jndi
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2022-07-12 20:19:29 +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
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
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
Lachlan Roberts
54358b94e2
re-enable ClientConnectTest for websocket ee10
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-24 11:34:49 +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
8b3a37cfb9
re-enable GracefulCloseTest for websocket ee10
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-06-24 10:49:07 +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
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
Jan Bartel
9893c81abf
Jetty 12.0.x update jakarta api versions ( #8192 )
...
* update to latest jakarta official releases
2022-06-22 10:32:54 +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
89359cc0eb
Removing deprecated jetty-util Log classes
2022-06-15 16:06:51 -05:00
Lachlan Roberts
fd3a0d9123
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
2022-06-10 10:33:29 +10:00
Jan Bartel
f6aba98886
Fix websocket modules
2022-06-01 16:25:29 +10:00
Jan Bartel
43c662a3ac
Fix more ee10 modules.
2022-05-30 18:50:23 +10:00
Lachlan Roberts
4bc0316091
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
2022-05-16 14:46:33 +10:00
Lachlan Roberts
0de3b48d82
websocket ServerCloseTest has been fixed
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-05-09 17:16:55 +10:00
Lachlan Roberts
af8e89c1b1
implement dummy shutdown method on ContextHandler
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-05-09 17:14:00 +10:00
Lachlan Roberts
23dcefcd47
copy servlet attributes & params on jetty websocket upgrade
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-05-09 17:07:48 +10:00
Lachlan
6fb717b1b4
Merge pull request #7956 from eclipse/jetty-12.0.x-lachlan
...
fixes to Jetty 12 for Servlet/WebSocket tests
2022-05-05 15:48:31 +10:00
Lachlan Roberts
5fb45f7273
fix WebSocket HttpFieldsWrapper
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-05-05 08:59:29 +10: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
Lachlan Roberts
e80a301be3
fix WebSocketListenerTest
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-05-04 14:10:48 +10:00
Greg Wilkins
428a9d568f
Reverted to use Resource as BaseResource
2022-05-03 19:28:53 +02:00
Greg Wilkins
0a32147e89
Jetty-12 Restructure
...
Copied ee10 from 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:52:44 +02:00