Joakim Erdfelt
a7d14d6874
Updating to version 10.0.21-SNAPSHOT
2024-01-29 14:58:51 -06:00
Joakim Erdfelt
3a745c71c2
Updating to version 10.0.20
2024-01-29 14:46:10 -06:00
Lachlan Roberts
aedafcff42
Issue #11329 - fix artifactIds in 11->12 migration guide
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2024-01-29 12:11:01 +11:00
Simone Bordet
b5d0fd6f2f
Fixes #11096 - IllegalAccessException when invoking WebSocket endpoint methods in Jetty 12 ( #11229 )
...
Changed `JettyWebSocketFrameHandlerFactory` to use an application MethodHandle.Lookup (rather than a server one) when creating listener metadata.
This fixes the JPMS problem so that now JPMS applications do not need any additional configuration to invoke endpoints.
The (acceptable) downside is that anonymous inner classes (that are not public) cannot be used as listener endpoints.
This change affects core and EE10 WebSocket; EE9 and EE8 WebSocket have not been fixed (so they allow anonymous inner classes but are broken in JPMS).
Renamed "connectLatch" fields to "openLatch" in test classes.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: Olivier Lamy <olamy@apache.org>
2024-01-25 16:40:48 +01:00
Simone Bordet
a9e564ad8c
Fixes #10220 - Implement CrossOriginHandler. ( #11093 )
...
Introduced CrossOriginHandler.
Added cross-origin Jetty module.
Added CrossOriginHandler documentation to the programming guide.
Added CrossOriginHandler documentation to the operations guide.
Added cross-origin headers to the HttpHeader enum.
Added test cases.
Deprecated ee10 CrossOriginFilter.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-12 09:57:21 +01:00
Joakim Erdfelt
2f3c9257d1
Results of: mvn spotless:apply
2024-01-03 10:40:38 -06:00
Simone Bordet
231d8deb8a
Fixes #10870 - How to set HttpConfiguration.securePort when the HTTPS port is dynamic?
...
Updated and expanded documentation.
Restored compilation of documentation Java sources.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-03 16:39:35 +01:00
Simone Bordet
4fca6781ce
Fixes #11213 - Improve programming guide WebSocket JPMS documentation
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2024-01-03 15:53:35 +01:00
Joakim Erdfelt
9a18dc8722
Results of: mvn spotless:apply
2024-01-03 03:12:56 -06:00
Joakim Erdfelt
96eea590ee
Updating to version 12.0.6-SNAPSHOT
2023-12-18 08:25:22 -06:00
Joakim Erdfelt
3aed62e495
Updating to version 12.0.5
2023-12-18 08:05:54 -06:00
Joakim Erdfelt
fd81c80194
Updating to version 11.0.20-SNAPSHOT
2023-12-15 15:09:03 -06:00
Joakim Erdfelt
f781e475c8
Updating to version 11.0.19
2023-12-15 14:54:13 -06:00
Joakim Erdfelt
c91e3fbc48
Updating to version 10.0.20-SNAPSHOT
2023-12-15 14:49:33 -06:00
Joakim Erdfelt
8492d1c78f
Updating to version 10.0.19
2023-12-15 14:38:06 -06:00
Lachlan
35af2d8984
Do not use HttpStream.Wrapper in SizeLimitHandler ( #11051 )
...
* Do not use HttpStream.Wrapper in SizeLimitHandler
* Updated the SizeLimitHandlerServletTest
* Udpated documentation and javadocs.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-12-15 15:11:57 +01:00
Jan Bartel
d926380651
Refactor eeX plus.security and plus.annotation classes to core ( #11030 )
...
* Refactor eeX plus.security and plus.annotation classes to core
2023-12-13 06:34:55 +01:00
Jan Bartel
7fc4b74a04
Jetty 12.0.x 10856 jndi doco ( #11028 )
...
* Update JNDI doc for jetty-12
2023-12-07 02:49:32 +01:00
Simone Bordet
8638d80bd5
Fixes #10277 - Review read failures impacting writes. ( #10948 )
...
* Separated read failures from write failures.
* In this way it is possible to read even if the write side is failed and write even if the read side is failed.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-12-06 21:48:47 +01:00
Joakim Erdfelt
8597033339
Updating to version 12.0.5-SNAPSHOT
2023-11-30 13:33:03 -06:00
Joakim Erdfelt
9b415c6424
Updating to version 12.0.4
2023-11-30 13:14:15 -06:00
Simone Bordet
0ca80b9d9a
Fixes #10484 - Clarify documentation about how to make a non-blocking… ( #10934 )
...
Added documentation about non-blocking Handlers.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-30 17:52:16 +01:00
Jan Bartel
03425a2bd5
Change
2023-11-29 19:13:12 +11:00
Jan Bartel
f6eac3ebbc
Issue #10925 More updates to jetty maven plugin documentation.
2023-11-29 18:53:58 +11:00
Simone Bordet
8c10ea8a9b
Fixes #10912 - Document Request listeners ( #10920 )
...
* Fixes #10912 - Document Request listeners
* Documented Request listeners and updated javadocs.
* Removed code in HttpChannelState.onIdleTimeout() that was automatically complete the Handler callback.
* Invoking failure listeners only once (although HttpChannelState.onFailure() may be called multiple times).
* Made sure that in ChannelCallback.succeeded() the last stream send uses the ChannelResponse as Callback, like it is done in Response.write().
* Moved Request listeners tests from various test classes into RequestListenersTest.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-28 12:56:17 +01:00
Greg Wilkins
7dcab84b91
Fix jetty 12.0.x transient timeouts ( #10844 )
...
Fixes #10234
* Introduced transient failures in reads where a failure chunk has last=false.
* Transient failure now do not fail the handler callback.
* Improve eeN ContentProducer to more carefully assert transient and terminal errors + enable HttpInputIntegrationTest
* Do not add connection: close to the response when the error is transient
* Rework ChunksContentSource to support null chunks
* Added tests to verify the new transient failure cases
* Review all code that handles failure, and handling correctly transient failure, either by making them fatal, and/or by failing Content.Source.
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Ludovic Orban <lorban@bitronix.be>
Co-authored-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Chad Wilson <chadw@thoughtworks.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-23 15:25:03 +01:00
Lachlan
ecb90e8d0f
Issue #10687 - WebSocket remembers mappings on restart ( #10773 )
...
* Clear websocket mappings on server stop
* Fix core WebSocketUpgradeHandler on restart
* Avoid usage of deprecated WebSocketUpgradeHandler.configure() method.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-20 17:09:56 +01:00
Simone Bordet
dc2eff5f42
Improved HTTP/3 documentation in the programming guide.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-11 15:48:39 +01:00
Simone Bordet
236061ea29
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-08 13:35:46 +01:00
Simone Bordet
be2b431ba6
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-08 13:08:01 +01:00
Simone Bordet
a9878863aa
Improved Conscrypt documentation for the programming guide.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-11-08 13:04:04 +01:00
Hantsy Bai
3fa3e8aa3e
Update jetty-maven-plugin.adoc ( #10810 )
...
* Update jetty-maven-plugin.adoc
Update Jetty maven plugin for Jetty 12.
Co-authored-by: Jan Bartel <janb@webtide.com>
2023-11-07 06:36:44 +01:00
Olivier Lamy
91d11941b3
Jetty 12 merge from 11 and fix JAAS ldap login test ( #10857 )
...
* Merge from jetty-10.0.x to jetty-11.0.x
* Fixes #10812 - Correct awaitility dependency scope (#10813 )
* Bump org.apache.logging.log4j:log4j-api from 2.20.0 to 2.21.1
Bumps org.apache.logging.log4j:log4j-api from 2.20.0 to 2.21.1.
---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump maven.plugin-tools.version from 3.9.0 to 3.10.1
Bumps `maven.plugin-tools.version` from 3.9.0 to 3.10.1.
Updates `org.apache.maven.plugin-tools:maven-plugin-annotations` from 3.9.0 to 3.10.1
- [Release notes](https://github.com/apache/maven-plugin-tools/releases )
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.9.0...maven-plugin-tools-3.10.1 )
Updates `org.apache.maven.plugin-tools:maven-plugin-tools-api` from 3.9.0 to 3.10.1
- [Release notes](https://github.com/apache/maven-plugin-tools/releases )
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.9.0...maven-plugin-tools-3.10.1 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugin-tools:maven-plugin-annotations
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: org.apache.maven.plugin-tools:maven-plugin-tools-api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump org.apache.maven.plugins:maven-clean-plugin from 3.3.1 to 3.3.2
Bumps [org.apache.maven.plugins:maven-clean-plugin](https://github.com/apache/maven-clean-plugin ) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/apache/maven-clean-plugin/releases )
- [Commits](https://github.com/apache/maven-clean-plugin/compare/maven-clean-plugin-3.3.1...maven-clean-plugin-3.3.2 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-clean-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump org.apache.maven.plugins:maven-dependency-plugin
Bumps [org.apache.maven.plugins:maven-dependency-plugin](https://github.com/apache/maven-dependency-plugin ) from 3.6.0 to 3.6.1.
- [Commits](https://github.com/apache/maven-dependency-plugin/compare/maven-dependency-plugin-3.6.0...maven-dependency-plugin-3.6.1 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-dependency-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump commons-io:commons-io from 2.14.0 to 2.15.0
Bumps commons-io:commons-io from 2.14.0 to 2.15.0.
---
updated-dependencies:
- dependency-name: commons-io:commons-io
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump org.apache.maven.plugins:maven-plugin-plugin from 3.9.0 to 3.10.1
Bumps [org.apache.maven.plugins:maven-plugin-plugin](https://github.com/apache/maven-plugin-tools ) from 3.9.0 to 3.10.1.
- [Release notes](https://github.com/apache/maven-plugin-tools/releases )
- [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.9.0...maven-plugin-tools-3.10.1 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-plugin-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump maven.surefire.plugin.version from 3.1.2 to 3.2.1
Bumps `maven.surefire.plugin.version` from 3.1.2 to 3.2.1.
Updates `org.apache.maven.plugins:maven-failsafe-plugin` from 3.1.2 to 3.2.1
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.1.2...surefire-3.2.1 )
Updates `org.apache.maven.plugins:maven-surefire-plugin` from 3.1.2 to 3.2.1
- [Release notes](https://github.com/apache/maven-surefire/releases )
- [Commits](https://github.com/apache/maven-surefire/compare/surefire-3.1.2...surefire-3.2.1 )
Updates `org.apache.maven.surefire:surefire-junit47` from 3.1.2 to 3.2.1
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-failsafe-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: org.apache.maven.surefire:surefire-junit47
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump org.apache.maven.plugins:maven-checkstyle-plugin
Bumps [org.apache.maven.plugins:maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin ) from 3.3.0 to 3.3.1.
- [Commits](https://github.com/apache/maven-checkstyle-plugin/compare/maven-checkstyle-plugin-3.3.0...maven-checkstyle-plugin-3.3.1 )
---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-checkstyle-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump apacheds.version from 2.0.0.AM26 to 2.0.0.AM27 (#10836 )
* Bump apacheds.version from 2.0.0.AM26 to 2.0.0.AM27
Bumps `apacheds.version` from 2.0.0.AM26 to 2.0.0.AM27.
Updates `org.apache.directory.server:apacheds-test-framework` from 2.0.0.AM26 to 2.0.0.AM27
- [Commits](https://github.com/apache/directory-server/compare/2.0.0.AM26...2.0.0.AM27 )
Updates `org.apache.directory.server:apacheds-server-integ` from 2.0.0.AM26 to 2.0.0.AM27
- [Commits](https://github.com/apache/directory-server/compare/2.0.0.AM26...2.0.0.AM27 )
Updates `org.apache.directory.server:apacheds-core-integ` from 2.0.0.AM26 to 2.0.0.AM27
- [Commits](https://github.com/apache/directory-server/compare/2.0.0.AM26...2.0.0.AM27 )
---
updated-dependencies:
- dependency-name: org.apache.directory.server:apacheds-test-framework
dependency-type: direct:development
update-type: version-update:semver-patch
- dependency-name: org.apache.directory.server:apacheds-server-integ
dependency-type: direct:development
update-type: version-update:semver-patch
- dependency-name: org.apache.directory.server:apacheds-core-integ
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* get this work
Signed-off-by: Olivier Lamy <olamy@apache.org>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Olivier Lamy <olamy@apache.org>
* Bump org.infinispan:infinispan-bom from 11.0.17.Final to 11.0.18.Final (#10724 )
Bumps [org.infinispan:infinispan-bom](https://github.com/infinispan/infinispan ) from 11.0.17.Final to 11.0.18.Final.
- [Release notes](https://github.com/infinispan/infinispan/releases )
- [Changelog](https://github.com/infinispan/infinispan/blob/main/Jenkinsfile-release )
- [Commits](https://github.com/infinispan/infinispan/compare/11.0.17.Final...11.0.18.Final )
---
updated-dependencies:
- dependency-name: org.infinispan:infinispan-bom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* not needed, bad merge
Signed-off-by: Olivier Lamy <olamy@apache.org>
* fix version
Signed-off-by: Olivier Lamy <olamy@apache.org>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Olivier Lamy <olamy@apache.org>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Chad Wilson <chadw@thoughtworks.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 15:27:40 +11:00
Joakim Erdfelt
ab15891e5e
Merge remote-tracking branch 'origin/release/12.0.3' into jetty-12.0.x
2023-10-30 14:48:25 -05:00
Simone Bordet
2d88100a67
Improved Content.Source documentation.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-30 17:39:35 +01:00
Joakim Erdfelt
c01baac85c
Updating to version 12.0.4-SNAPSHOT
2023-10-26 22:47:29 -05:00
Joakim Erdfelt
a873259fd5
Updating to version 12.0.3
2023-10-26 22:24:43 -05:00
Joakim Erdfelt
1e2b356b80
Updating to version 11.0.19-SNAPSHOT
2023-10-26 21:24:54 -05:00
Joakim Erdfelt
5a9a771a9f
Updating to version 11.0.18
2023-10-26 21:14:03 -05:00
Joakim Erdfelt
c50aa2f61b
Updating to version 10.0.19-SNAPSHOT
2023-10-26 21:10:08 -05:00
Joakim Erdfelt
8545fd9bf4
Updating to version 10.0.18
2023-10-26 20:59:27 -05:00
Simone Bordet
13bb75e041
Ported the old FastCGI documentation to the new operations guide.
...
Removed the old HTTP/2 and JMX documentation (already present in the new documentation).
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-10-25 18:50:59 +02:00
Lachlan Roberts
829e2a19b7
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
2023-10-25 16:35:42 +11:00
Lachlan Roberts
20b1fc8c10
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
2023-10-25 16:32:49 +11:00
Lachlan
6e7fafaf85
Merge pull request #10755 from jetty/jetty-10.0.x-pushCacheFilter
...
deprecate PushCacheFilter
2023-10-25 16:32:32 +11:00
Joakim Erdfelt
8587cc9bef
More PushCacheFilter deprecation cleanup
...
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-10-24 09:34:48 -05:00
gregw
524bde565e
Merge remote-tracking branch 'origin/jetty-11.0.x' into jetty-12.0.x
...
# Conflicts:
# jetty-ee10/jetty-ee10-servlets/src/test/java/org/eclipse/jetty/ee10/servlets/AbstractDoSFilterTest.java
# jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java
2023-10-19 09:24:30 +11:00
gregw
5e820ca144
Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
...
# Conflicts:
# jetty-servlets/src/main/java/org/eclipse/jetty/servlets/DoSFilter.java
2023-10-19 09:03:28 +11:00
Greg Wilkins
168d8715d4
Simplify the DosFilter for #1256 ( #10748 )
...
Use only IP tracking for the DosFilter to fix #1256
Signed-off-by: gregw <gregw@webtide.com>
2023-10-19 07:34:54 +11:00
Olivier Lamy
fcc88274a4
Jetty 12.0.x use automatic formatter for poms to have same style for every poms ( #10578 )
...
* apply spotless sort pom
---------
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-10-12 03:51:36 +02:00
Joakim Erdfelt
6b3f760b80
Updating to version 12.0.3-SNAPSHOT
2023-10-09 21:16:46 -05:00
Joakim Erdfelt
b01e3611cf
Updating to version 12.0.2
2023-10-09 20:59:14 -05:00
Joakim Erdfelt
c8829f75bf
Updating to version 11.0.18-SNAPSHOT
2023-10-09 13:49:23 -05:00
Joakim Erdfelt
48e7716b94
Updating to version 11.0.17
2023-10-09 13:38:47 -05:00
Joakim Erdfelt
2f6add5677
Merge remote-tracking branch 'origin/fix/10.0.x/rollback-jdk21-requirement' into release/11.0.17
2023-10-09 13:34:05 -05:00
Joakim Erdfelt
722b97ad6a
Updating to version 10.0.18-SNAPSHOT
2023-10-09 13:32:28 -05:00
Joakim Erdfelt
af15f12297
Updating to version 10.0.17
2023-10-09 13:21:53 -05:00
Joakim Erdfelt
4670d3e35b
Rollback JDK21 requirements during Compile + Jar creation.
...
Only have JDK21 requirement for jetty-documentation in release script.
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-10-06 07:09:35 -05:00
Olivier Lamy
ff25dd8948
fix failing fast profile ( #10615 )
...
* fix failing fast profile
---------
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-10-03 17:20:12 +10:00
Simone Bordet
59d2ec5b83
Fixed documentation referencing `HttpChannel.Listener`.
...
Updated to reference `EventsHandler` instead.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-28 19:47:25 +02:00
Simone Bordet
b238577faf
Added `Connection.Listener` documentation.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-28 17:24:10 +02:00
Lachlan
aa880cff09
Issue #10513 - fix multipart lockup with HTTP/2 ( #10554 )
...
* Changes the H2 semantic of `Stream.readData()` so that it is `readData()` that enlarges the flow control window, and not anymore the release of the `Stream.Data`.
This allows applications to buffer in memory by retaining the `Stream.Data` instances more than the H2 flow control window.
* Updated `FlowControlStrategyTest` after `Stream.readData()` semantic changes.
* Updated `DataDemandTest` after `Stream.readData()` semantic changes.
* Updated documentation.
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Co-authored-by: gregw <gregw@webtide.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Ludovic Orban <lorban@bitronix.be>
2023-09-28 11:47:32 +02:00
Joakim Erdfelt
d53e69b822
Issue #10449 - Improve javadoc and jetty-documentation packaging ( #10549 )
...
* Issue #10449 - Improve jetty-documentation artifacts
+ -html.zip now has content
+ -javadoc.jar not produced locally
+ -source.jar not produced locally
+ attaching org.eclipse.jetty:javadoc:javadoc to jetty-documentation-<ver>-javadoc.jar instead
* Always run deploy:deploy
* Allow org.eclipse.jetty:javadoc:jar:javadoc to be found
* Don't skip asciidoctor on -DskipTests
* Bump javadoc plugin to 3.6.0
* Remove unused section
* Use proper phase
* Skip asciidoctor on -Pfast too
* Dump sources content in antrun (debugging codeql build)
* source:jar-no-fork is now default
* Revert "Dump sources content in antrun (debugging codeql build)"
This reverts commit 4bd9df1b1e
.
2023-09-28 07:21:45 +02:00
Jan Bartel
0e79cc8cb3
Issue #10466 review session documentation. ( #10497 )
...
* Issue #10466 review session documentation.
Also fix session config context init param names and add missing code to
configure SessionHandler via context init params, and added test for
config.
2023-09-22 08:18:29 +02:00
Simone Bordet
3dd030ae61
Added WebSocket migration documentation, pointing to existing WebSock… ( #10542 )
...
* Added WebSocket migration documentation, pointing to existing WebSocket documentation.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-20 21:20:06 +02:00
Simone Bordet
d1a1663b39
Fixes #10324 - Improve migration from Servlets to Handler. ( #10529 )
...
* Using request.getLength() instead of looking up the Content-Length header.
* Jetty Handler vs Servlet pros.
* Using CompletableFuture (not Promise) in examples.
* Removed unused cruft from tests.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-20 21:15:20 +02:00
Simone Bordet
293bab9316
Small fix to migration guide documentation.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-15 15:45:23 +02:00
Simone Bordet
388d3e38fa
Fixes #10361 - Introduce QoSHandler ( #10480 )
...
* Introduced QoSHandler.
* Updated documentation, and removed old documentation.
* Now using dynamic max priority.
The current implementation retains priorities and queue as they are created, but hopefully the priority range is constrained.
* Better algorithm for resuming: rather than releasing a permit and try to acquire it again, keep the permit and resume a request.
This also removes the issue that a request could have been suspended again, therefore remaining suspended much more than maxSuspend.
* Deprecated QoSFilters in ee10 and ee9.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-14 15:46:12 +02:00
Simone Bordet
8684b0a67a
Introduced CompletableResponseListener ( #10502 )
...
Introduced CompletableResponseListener, a replacement for FutureResponseListener that uses better APIs based on CompletableFuture.
Deprecated FutureResponseListener and replaced its usages.
Updated documentation.
Added tests for zipped request content.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-14 15:33:51 +02:00
Simone Bordet
3e6fe97bea
Fixed wrong xrefs in the operations guide.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-02 17:21:16 +02:00
Simone Bordet
ad23410e09
Ported documentation for the Password tool from old_docs to the operations guide.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-02 17:10:01 +02:00
Simone Bordet
3090314206
Fixed location of {jetty-home} attribute after recent refactorings.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-02 12:10:12 +02:00
Simone Bordet
84befe3957
* Fixed substitutions for [source] blocks.
...
* Fixed callouts in XML, using the comment syntax.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-02 11:48:27 +02:00
Simone Bordet
744146f36f
Fixed inclusion directive for threadpool-virtual.mod.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-01 19:51:16 +02:00
Simone Bordet
8cda599c29
Added short documentation section about HTTP session support.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-09-01 18:12:43 +02:00
Joakim Erdfelt
1d226403da
Updating to version 12.0.2-SNAPSHOT
2023-08-29 16:55:36 -05:00
Joakim Erdfelt
4768745849
Updating to version 12.0.1
2023-08-29 16:38:20 -05:00
Simone Bordet
c638753b8d
Fixes #10293 - Improve documentation on how to write a response body in Jetty 12.
...
Updated documentation about:
* Content.Source
* Content.Sink
* Handler
* Request/Response
Updated few APIs to make easier to write applications.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-29 22:07:42 +02:00
Greg Wilkins
d3cd69be68
Fix #10411 default environment ( #10415 )
...
Implemented a simpler default environment algorithm where an application that does not specify an environment is always attempted in the default.
Updated documentation.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-29 18:34:21 +02:00
Simone Bordet
5a8c5bc8c7
Fixes #10353 - Questions about porting WebSocket APIs to jetty-core 12 ( #10354 )
...
* Added direct WebSocket upgrade in the Jetty core WebSocket APIs.
* Updated the WebSocket documentation.
* Optimized WebSocketMappings.getMatchedNegotiator() to avoid allocating a lambda for every invocation.
* Cleaned up core.server.WebSocketUpgradeHandler.
* Expanded websocket docs to mention how the demand mechanism works.
* Fixed code examples with correct demand handling.
* Javadocs for api.Callback.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-28 17:46:12 +02:00
Simone Bordet
86c245d069
Fixes #10158 - Deploy Jetty context XML file needs environment
...
Updated the documentation; a better fix is coming with #10411 .
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-26 17:01:21 +02:00
Joakim Erdfelt
cb8c4b6ab2
Updating to version 11.0.17-SNAPSHOT
2023-08-25 14:55:08 -05:00
Joakim Erdfelt
bedff458c4
Updating to version 11.0.16
2023-08-25 14:43:04 -05:00
Joakim Erdfelt
896dee2466
Updating to version 10.0.17-SNAPSHOT
2023-08-25 14:27:38 -05:00
Joakim Erdfelt
a2735a9ae9
Updating to version 10.0.16
2023-08-25 14:10:55 -05:00
Simone Bordet
0eb4f1b7e3
Updated the documentation about HttpChannel events (they don't exist anymore replaced by `EventsHandler`).
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-25 12:44:48 +02:00
Lachlan
5c7a222697
Merge pull request #10313 from eclipse/jetty-12.0.x-10295-formAuthDispatch
...
Issue #10295 - implement EE10 FormAuthenticator with dispatch option
2023-08-25 16:14:40 +10:00
Simone Bordet
946b047cde
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-24 19:45:09 +02:00
Simone Bordet
5cc4a9da09
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-24 19:41:57 +02:00
Olivier Lamy
2ea646bacd
Issue #10312 Remove cyclic dependencies between jetty-home and jetty-documentation. Add new module jetty-documentation ( #10348 )
...
* cleanup jetty home build extracting jetty-documentation
* Issue #10312 Remove cyclic dependencies between jetty-home and jetty-documentation
Signed-off-by: Olivier Lamy <olamy@apache.org>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Co-authored-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2023-08-24 19:41:17 +02:00
Simone Bordet
4646ef50f9
Fixes #10327 - Jetty (embedded) rejected warning logs
...
Added documentation about the fact that the QTP queue should be unbounded.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-24 18:29:54 +02:00
Simone Bordet
7f1d262aee
Merged branch 'jetty-11.0.x' into 'jetty-12.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-23 15:47:15 +02:00
Simone Bordet
9efe3a113a
Merged branch 'jetty-10.0.x' into 'jetty-11.0.x'.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-23 13:43:48 +02:00
Simone Bordet
153f5dfae8
Fixes #10350 - Support Java 21 virtual threads
...
* Introduced module `threadpool-virtual` for Java 21.
* Updated virtual threads documentation to refer to Java 21.
* Updated requirements that the releases should use Java 21, so that the documentation can properly render the virtual threads documentation.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-23 11:58:24 +02:00
Lachlan Roberts
5a28d48b93
Move ServeAs code to Request, so it can be used elsewhere
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2023-08-23 12:32:46 +10:00
Olivier Lamy
97e1527ed6
Jetty 12.0.x use Maven build cache for PRs and branches except jetty-12.0.x main branch ( #9871 )
...
* apply configuration/changes for build cache
Signed-off-by: Olivier Lamy <olamy@apache.org>
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-08-22 02:46:46 +02:00
Simone Bordet
8f6a38aca8
Added documentation to migrate from Servlet to Handler.
...
Introduced CompletableTask to simplify Content.Source reads.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-16 15:02:57 +02:00
Simone Bordet
b126407c4e
Fixed Maven coordinates, wrongly reported just as `jetty-servlet`, to `jetty-eeN-servlet`.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-16 13:13:41 +02:00
Simone Bordet
c66f9809ba
Added documentation profile for Java 21.
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-14 21:39:25 +02:00
Simone Bordet
8d50f55b32
Updated virtual threads documentation.
...
Now examples are in code, and added POM profiles to deal with virtual threads preview APIs.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-08-14 18:12:17 +02:00