Ludovic Orban
177bafbace
#9078 make HttpContent.getByteBuffer() implementations return new ByteBuffer instances and document that contract
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-01-10 10:18:55 +01:00
Simone Bordet
8d6734cf78
Fixes #9141 - Thread-safe Content.Chunk#slice ( #9142 )
...
* Fixes #9141 - Thread-safe Content.Chunk#slice
* Changed Content.Chunk.slice(int, int, boolean) to have the same parameters as ByteBuffer.slice(int, int) for consistency.
* Updated Chunk.slice(int, int, boolean) javadocs.
* Update code that was calling Chunk.slice(int, int, boolean).
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-01-10 09:49:39 +01:00
Joakim Erdfelt
b4d274e3d3
Remove `@Disabled` from `jetty-jmx` ( #9143 )
...
* Remove @Disabled from jetty-jmx
2023-01-09 15:20:55 -06:00
Christian Kohlschütter
6d075a4c17
ee10: DefaultServlet should initialize ResourceFactory unconditionally
...
Currently, unlike ee9 and ee8, ee10's DefaultServlet initializes
_resourceFactory only when either "baseResource" or "resourceBase" are
set as init parameters.
In embedded jetty, the resource base can also be set using
ContextHandler#setBaseResource(Resource), which means that
DefaultServlet would not initialize correctly and therefore prevent
operations like overriding the jetty-dir.css stylesheet by throwing an
otherwise unexplicable NullPointerException.
Change ee10 DefaultServlet to always initialize ResourceFactory, like
the ee9 and ee8 variants do.
Signed-off-by: Christian Kohlschütter <christian@kohlschutter.com>
2023-01-09 18:31:10 +01:00
Joakim Erdfelt
8db7101862
Fixing TypeUtilTest expectation
2023-01-09 10:07:33 -06:00
Joakim Erdfelt
ebd45ebb74
Renaming TypeUtilTest.TestClass to .ExampleClass to avoid junit picking it up
2023-01-09 09:42:40 -06:00
Ludovic Orban
f14c0a5002
Jetty 12.0.x h2c perf improvement: implement equals/hashcode in Stream ( #9077 )
...
implement equals/hashcode in H2Stream
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2023-01-09 10:37:20 +01:00
Greg Poulos
1dc175efac
Jetty 12.0.x documentation ( #9096 )
...
* fix broken include
* fix demo module example
* add documentation markup to fix documentation build error
* editorial suggestions for installation instructions
* editorial suggestions for quickstart guide
* fix unresolved directive errors
* fix file not found exception thrown during doc build
* editorial suggestions for deployment quickstart, plus some fixed references
* Update documentation/jetty-documentation/src/main/asciidoc/operations-guide/begin/start.adoc
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-01-06 17:21:46 +01:00
Joakim Erdfelt
250c9409fa
Remove @Disabled on ResourceTest
2023-01-04 14:27:55 -06:00
Joakim Erdfelt
c26538ba86
Remove @Disabled on SerializedInvokerTest
2023-01-04 14:27:29 -06:00
Joakim Erdfelt
eb8152094d
Remove @Disabled on LifeCycleListenerNestedTest
2023-01-04 14:26:19 -06:00
Joakim Erdfelt
4c1843f2fb
Renaming TestConfiguration to ExampleConfiguration.
...
+ Name changed to avoid it being picked up by junit runners as a Test case (which this class is not)
2023-01-04 09:33:03 -06:00
Joakim Erdfelt
94ddbbfddd
Removing QueueBenchmarkTest (it should exist as a jmh test anyway)
2023-01-04 09:30:13 -06:00
Joakim Erdfelt
f3cbe80395
Removing @Disabled microbenchmark from BufferUtilTest
2023-01-04 09:29:50 -06:00
Joakim Erdfelt
ccce29dde8
Removing @Diabled from SocketChannelEndPointTest
2023-01-04 09:27:31 -06:00
Ludovic Orban
fcbdab8b3e
Rework client content listeners ( #8981 )
...
* Removed DemandedContentListener
* Updated AsyncContentListener signature
* Updated documentation
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2023-01-04 11:01:18 +01:00
Joakim Erdfelt
f1b8bf5663
Merge pull request #9122 from eclipse/fix/jetty-12.0.x/remove-client-usage-class
...
Jetty 12 : Removing client `Usage.java` as the examples have been moved to documentation
2023-01-03 13:29:33 -06:00
Simone Bordet
ebbdda61bc
Replaced try/catch with MathUtils.cappedAdd().
...
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2023-01-03 18:56:50 +01:00
Joakim Erdfelt
c2f04f5efc
Merge pull request #9117 from eclipse/fix/jetty-12.0.x/enable-connectionpooltest
...
Removing `@Disabled` from `ConnectionPoolTest`
2023-01-03 11:10:43 -06:00
Joakim Erdfelt
8abebdbe17
Removing client Usage.java as the examples have been moved to documentation
2023-01-03 11:07:53 -06:00
Dr. Christian Kohlschütter
360bd2ea0a
core: util: TypeUtil: Use method references instead of reflection ( #9115 )
...
* core: util: TypeUtil: Use method references instead of reflection
TypeUtil currently uses reflection to convert Strings to primitive/boxed
basic types.
This may not only be a performance problem, but it also prevents
environments like GraalVM native-image to detect required methods
without the help of an agent.
Use method references (Boolean::valueOf, etc.) instead.
Signed-off-by: Christian Kohlschütter <christian@kohlschutter.com>
2023-01-02 14:54:27 -06:00
Joakim Erdfelt
6a942f66d9
Removing @Disabled from HttpCookieTest
2023-01-02 14:31:29 -06:00
Joakim Erdfelt
e5a6622f37
Removing @Disabled from ConnectionPoolTest
2023-01-02 11:55:22 -06:00
Olivier Lamy
3d7ccb1305
fix upperBound dependencies
...
Signed-off-by: Olivier Lamy <olamy@apache.org>
2023-01-02 15:37:27 +08:00
Olivier Lamy
f3d3e0349d
Merge branch 'jetty-11.0.x' into jetty-12.0.x
2022-12-29 17:40:36 +10:00
Olivier Lamy
314d098649
Merge branch 'jetty-10.0.x' into jetty-11.0.x
2022-12-29 12:16:54 +10:00
dependabot[bot]
c392d80aca
Merge pull request #9097 from eclipse/dependabot/maven/jetty-10.0.x/org.infinispan.protostream-protostream-4.6.0.Final
2022-12-28 21:46:01 +00:00
Olivier Lamy
107c80ae7d
fix upperbound issue with jackson
...
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-12-28 21:59:46 +10:00
Olivier Lamy
2d734cbe18
Merge branch 'jetty-10.0.x' into jetty-11.0.x
2022-12-28 20:58:15 +10:00
dependabot[bot]
63d26f30ea
Merge pull request #9106 from eclipse/dependabot/maven/jetty-10.0.x/org.eclipse.platform-org.eclipse.osgi.services-3.11.100
2022-12-28 10:57:19 +00:00
dependabot[bot]
ee87df070e
Merge pull request #9104 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.httpcomponents-httpclient-4.5.14
2022-12-28 10:56:20 +00:00
Olivier Lamy
cebf97375f
Merge branch 'jetty-10.0.x' into jetty-11.0.x
2022-12-28 16:45:05 +10:00
dependabot[bot]
ae7ff8de71
Bump org.eclipse.osgi.services from 3.11.0 to 3.11.100
...
Bumps [org.eclipse.osgi.services](https://github.com/eclipse-equinox/equinox ) from 3.11.0 to 3.11.100.
- [Release notes](https://github.com/eclipse-equinox/equinox/releases )
- [Commits](https://github.com/eclipse-equinox/equinox/commits )
---
updated-dependencies:
- dependency-name: org.eclipse.platform:org.eclipse.osgi.services
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-28 06:41:43 +00:00
dependabot[bot]
a6437020ea
Merge pull request #9102 from eclipse/dependabot/maven/jetty-10.0.x/org.apache.aries.spifly-org.apache.aries.spifly.dynamic.bundle-1.3.6
2022-12-28 06:40:41 +00:00
dependabot[bot]
4a7e9c4db5
Merge pull request #9098 from eclipse/dependabot/maven/jetty-10.0.x/org.eclipse.platform-org.eclipse.osgi-3.18.200
2022-12-28 06:40:17 +00:00
dependabot[bot]
ce3a3bee38
Bump httpclient from 4.5.13 to 4.5.14
...
Bumps httpclient from 4.5.13 to 4.5.14.
---
updated-dependencies:
- dependency-name: org.apache.httpcomponents:httpclient
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-28 04:38:09 +00:00
dependabot[bot]
112c5fa217
Bump org.apache.aries.spifly.dynamic.bundle from 1.3.5 to 1.3.6
...
Bumps org.apache.aries.spifly.dynamic.bundle from 1.3.5 to 1.3.6.
---
updated-dependencies:
- dependency-name: org.apache.aries.spifly:org.apache.aries.spifly.dynamic.bundle
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-28 04:37:54 +00:00
dependabot[bot]
1303944f86
Bump org.eclipse.osgi from 3.18.100 to 3.18.200
...
Bumps [org.eclipse.osgi](https://github.com/eclipse-equinox/equinox ) from 3.18.100 to 3.18.200.
- [Release notes](https://github.com/eclipse-equinox/equinox/releases )
- [Commits](https://github.com/eclipse-equinox/equinox/commits )
---
updated-dependencies:
- dependency-name: org.eclipse.platform:org.eclipse.osgi
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-28 04:36:03 +00:00
dependabot[bot]
7a8586421e
Bump protostream from 4.5.0.Final to 4.6.0.Final
...
Bumps [protostream](https://github.com/infinispan/protostream ) from 4.5.0.Final to 4.6.0.Final.
- [Release notes](https://github.com/infinispan/protostream/releases )
- [Commits](https://github.com/infinispan/protostream/compare/4.5.0.Final...4.6.0.Final )
---
updated-dependencies:
- dependency-name: org.infinispan.protostream:protostream
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-28 04:35:30 +00:00
Olivier Lamy
ffa048f670
Merge branch 'jetty-11.0.x' into jetty-12.0.x
2022-12-28 14:07:59 +10:00
Olivier Lamy
7eb662b9cd
Merge branch 'jetty-10.0.x' into jetty-11.0.x
2022-12-28 14:06:37 +10:00
Olivier Lamy
b55dc0b519
use asm bom ( #9092 )
2022-12-28 10:39:33 +10:00
Olivier Lamy
082e972793
fix missing merging both classes ( #9091 )
...
use separate package name to be able to understand which test fail in Jenkins
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-12-27 09:05:36 +10:00
Olivier Lamy
56af845cf1
Merge branch 'jetty-11.0.x' into jetty-12.0.x
2022-12-26 09:31:36 +10:00
Olivier Lamy
0cfc5bd353
Merge branch 'jetty-10.0.x' into jetty-11.0.x
2022-12-26 09:30:03 +10:00
Eddú Meléndez Gonzales
d5a3d8e1f4
Improve DatastoreEmulatorContainer usage ( #9081 )
...
* Improve DatastoreEmulatorContainer usage
Update to testcontainers 1.17.6 and take advantage of
`DatastoreEmulatorContainer#withFlags()`
2022-12-26 09:27:27 +10:00
Greg Wilkins
838091d2be
Alternate DelayedHandler & ThreadLimitHandler implementations #9051 ( #9056 )
...
* Improved javadoc
* Refactored ThreadLimitHandler to avoid lambda creation and to always execute
* Refactored DelayedHandler to avoid lambda creation and to execute only if needed
* added modules for the DelayedHandler
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Signed-off-by: Greg Wilkins <gregw@webtide.com>
Co-authored-by: Simone Bordet <simone.bordet@gmail.com>
2022-12-24 10:49:29 +11:00
Lachlan
0e95953be3
Merge pull request #9043 from eclipse/jetty-12.0.x-httpcontentFactoryCleanup
...
Create StaticHttpContentFactory and other cleanups
2022-12-23 22:54:38 +11:00
Joakim Erdfelt
1f78c90d81
Revert noisy DEBUG logging
2022-12-21 22:28:42 -06:00
Joakim Erdfelt
4ccdf25446
Fix NPE on DEBUG logging
2022-12-21 22:28:19 -06:00