Commit Graph

27208 Commits

Author SHA1 Message Date
Joakim Erdfelt 46ccfa1c9e
Fixing URLResourceFactory 2022-11-22 17:15:03 -06:00
Joakim Erdfelt b7d7e53ac7
Merge pull request #8924 from eclipse/fix/jetty-12-fileid-getextension-jdk-20
Jetty 12 - Align `FileID.getExtension()` with JDK20 behaviors
2022-11-22 08:24:03 -06:00
Greg Wilkins 3e9403ef39 improved javadoc
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2022-11-22 18:39:21 +11:00
Jan Bartel 07202102b8
Jetty 12 - Re-enable some disabled session tests. (#8714)
* Re-enable some disabled session tests.

* Add needed test resources to ee8 jdbc session test.
2022-11-22 17:25:06 +11:00
Greg Wilkins b04e9744ee Fixed dot not removed 2022-11-22 11:17:59 +11:00
Joakim Erdfelt 95e149b236
Issue #8923 - Fixing WebAppClassLoader expectations 2022-11-21 16:20:27 -06:00
Greg Wilkins 11fdbbef02 Fixed switch statement style and format 2022-11-22 09:16:08 +11:00
Greg Wilkins 8265ce6231
Fix style and format of switches in AbstractTest (#8925) 2022-11-22 09:06:35 +11:00
Joakim Erdfelt ff77fc247f
Issue #8923 - Fixing checkstyle 2022-11-21 15:40:18 -06:00
Joakim Erdfelt 2c1acc1c7f
Issue #8923 - Align FileID.getExtension with JDK20 behaviors 2022-11-21 15:35:06 -06:00
Joakim Erdfelt dbb3bd8d73
Issue #8923 - Align FileID.getExtension with JDK20 behaviors 2022-11-21 15:34:45 -06:00
Simone Bordet 74cb3eea0b
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-21 21:17:51 +01:00
Simone Bordet 85bc57b69d
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-21 21:16:58 +01:00
Simone Bordet e33c9a1284
Improved documentation about virtual threads. (#8900)
Added programming guide section about Jetty threading model.
Updated operations guide with new sections about virtual threads.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-21 21:16:10 +01:00
Joakim Erdfelt 0a95ea2f9c
Adding UrlResourceFactory.toString 2022-11-21 11:52:31 -06:00
Joakim Erdfelt c00def58cb
Rename AbstractUrlResourceFactory to UrlResourceFactory
+ Is package private
+ Add ResourceFactory.registerResourceFactory(String)
2022-11-21 11:42:40 -06:00
Joakim Erdfelt c981b3b5f5
Introduce CompositeResourceFactory
+ CompositeResourceFactory is
  doing what Resource.create(URI) did
  before.
+ CompositeResourceFactory is tracking
  mounts, and allowing the ability
  to report onMounted (useful for RF.ROOT)
+ ResourceFactory.ROOT,
  ResourceFactory.Closable, and
  ResourceFactory.LifeCycle all use
  this new CompositeResourceFactory
2022-11-21 11:35:09 -06:00
Joakim Erdfelt eae1d4c63b
Revert flaky 2022-11-21 10:47:24 -06:00
Joakim Erdfelt d6fa9f2d2e
Merge remote-tracking branch 'origin/jetty-12.0.x' into fix/jetty-12-extensible-resource-schemes 2022-11-21 10:46:18 -06:00
Joakim Erdfelt 834f94bca0
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2022-11-21 10:44:36 -06:00
Joakim Erdfelt 7d60e56e51
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-11-21 10:42:02 -06:00
Joakim Erdfelt 363dcdec3a
Merge pull request #8884 from eclipse/fix/jetty-12-move-gzipdefaultservlettest
Jetty 12 - Move `GzipDefaultServletTest` tests to jetty-core/jetty-server tests
2022-11-21 10:41:41 -06:00
Joakim Erdfelt 44666573e2
Merge pull request #8906 from eclipse/fix/jetty-10-gziphandler-status-304-vary
Issue #8905 - GzipHandler should include `Vary` header on 304 (Not Modified) responses (per RFC9110)
2022-11-21 10:23:49 -06:00
Simone Bordet 71e0414cbc
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-21 15:52:11 +01:00
Simone Bordet 2c3230a26a
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-21 15:41:47 +01:00
Simone Bordet 83154b4ffe
Fixes #8863 - Provide a possibility to name virtual threads (#8903)
* Fixes #8863 - Provide a possibility to name virtual threads

Reworked the VirtualThreads APIs to be based on `Executor` rather than just `boolean`.
Introduced Jetty module `threadpool-virtual-preview`.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-21 15:39:54 +01:00
Ludovic Orban 00e355bebb
Add debug logging to `SerializedInvoker` (#8914)
Added debug logging and task naming
2022-11-21 15:39:25 +01:00
Simone Bordet e7f6f6729a
Restored server push functionality. (#8760)
* Restored server push functionality.

* Moved Request.isPushSupported() to ConnectionMetaData.
* Removed HttpStream.isPushSupported().
* Implemented ee10 PushBuilder.
* Moved PushCacheFilterTest from core to ee10.
* Duplicated PushCacheFilterTest to ee9.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Greg Wilkins <gregw@webtide.com>
2022-11-21 12:18:19 +01:00
Jan Bartel 9cb6cc62d5 Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2022-11-21 13:15:27 +11:00
Jan Bartel cf493908c5 Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-11-21 09:30:42 +11:00
Jan Bartel 88ea1e81c4
Issue #8721 fix jetty:effective-web-xml goal (#8745)
* Issue #8721 fix jetty:effective-web-xml goal

* use xml parsing class to navigate and assert content

Signed-off-by: Olivier Lamy <olamy@apache.org>

Signed-off-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: Olivier Lamy <olamy@apache.org>
2022-11-21 09:02:13 +11:00
Olivier Lamy 2f7124fa47
Merge branch 'jetty-11.0.x' into jetty-12.0.x 2022-11-19 16:43:00 +10:00
Olivier Lamy 54d9d5cd41
Merge branch 'jetty-10.0.x' into jetty-11.0.x 2022-11-19 16:37:54 +10:00
Olivier Lamy 8020f8f1af
use repo manager for distribution tests (#8871)
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-11-19 08:47:12 +10:00
Simone Bordet ca91ce9140
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-18 20:08:31 +01:00
Simone Bordet d82d3f378a
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-18 19:42:39 +01:00
Simone Bordet b43e2e5600
Fixes #8913 - Review Jetty XML syntax to allow calling JDK methods (#8915)
* Fixes #8913 - Review Jetty XML syntax to allow calling JDK methods

Now `<Call>`, `<Get>` and `<Set>` elements can use the `class` attribute
to specify the exact class to perform method lookup.

Improved support for `<Property>`, `<SystemProperty>` and `<Env>` so that
attribute `name` is now optional (as specified in the DTD), and a
`deprecated` attribute may be present instead.
This is necessary to terminally deprecate properties that have
no replacement.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-11-18 19:36:48 +01:00
Olivier Lamy 116437f1e7
jetty-quic-quiche-foreign-incubator cannot be integrated in javadoc
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-11-18 13:59:52 +10:00
Joakim Erdfelt be16b1640b
Only allow skipping of asciidoc, not assembly 2022-11-17 19:43:05 -06:00
Joakim Erdfelt f7126f5db8
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x 2022-11-17 19:34:32 -06:00
Joakim Erdfelt a13ae1a60f
Can't skip docs with skipTests 2022-11-17 19:34:20 -06:00
Joakim Erdfelt aeaa75c4d7
Don't document infinispan (yet) 2022-11-17 19:34:03 -06:00
Greg Wilkins 9d433d891e fixed HttpStream javadoc 2022-11-18 12:19:28 +11:00
Greg Wilkins 07f09b5452 improve HttpStream javadoc 2022-11-18 11:44:08 +11:00
Joakim Erdfelt 1325886a2a
Excluding quic-jna and quick-foreign-incubator from javadoc 2022-11-17 18:14:55 -06:00
Joakim Erdfelt 18f22816c9
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x 2022-11-17 13:01:00 -06:00
Joakim Erdfelt cba414f255
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x 2022-11-17 11:51:54 -06:00
Joakim Erdfelt 8de1bad511
Merge pull request #8898 from eclipse/fix/jetty-10-home-with-docs
Issue #8895 - Introduce `jetty-home-<ver>-with-docs.zip`
2022-11-17 11:41:13 -06:00
Greg Wilkins dc7de0e229 Removed some old TODOs and deprecated method 2022-11-17 17:36:05 +11:00
Greg Wilkins f7d8ea67f6 Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
# Conflicts:
#	jetty-ee9/jetty-ee9-nested/src/main/java/org/eclipse/jetty/ee9/nested/ResourceService.java
#	jetty-server/src/test/java/org/eclipse/jetty/server/handler/ResourceHandlerTest.java
2022-11-17 13:01:45 +11:00