Ludovic Orban
b1d5f908a6
fix mounting/unmounting lifecycle of TLD resources
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-07-28 10:16:02 +02:00
Ludovic Orban
1cb80cf4ca
fix compilation error and re-enable tests
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-07-28 10:16:02 +02:00
Ludovic Orban
905352816d
make sure TLD file actually is a file
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-07-28 10:16:02 +02:00
Ludovic Orban
a84a86d820
handle review comments
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-07-28 10:16:02 +02:00
Ludovic Orban
9f0463b545
remove old Resource defaultUseCache mechanism
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-07-28 10:16:02 +02:00
Ludovic Orban
0c0c333970
get rid of EmptyResource
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-07-27 16:04:22 +02:00
Ludovic Orban
4856a7d065
keep, un-deprecate and rename Resource.getReadableByteChannel() and Resource.getInputStream()
...
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
2022-07-27 16:04:22 +02:00
Greg Wilkins
2275e1c2c6
Refactored MultiException into ExceptionUtil ( #8340 )
2022-07-27 18:07:57 +10:00
Greg Wilkins
d369adf55b
Jetty 12.0.x canonical uri ( #8343 )
...
Somehow the URIUtil class had switched over the meaning of normal and canonical. This PR renames them to correct this:
* canonical paths are always normal
* Always canonicalize paths passed from the application
* Switch the URIUtil names for canonical and normal
2022-07-27 09:58:50 +10:00
Joakim Erdfelt
0d75a87886
Adding comment about usage
2022-07-25 09:59:14 -05:00
Simone Bordet
69a7b06f06
Jetty 12.0.x retainable chunk ( #8325 )
...
Made Chunk implement Retainable, and protocol implementations
to link the RetainableByteBuffer all the way to the Chunk.
Extended Retainable to have both a retain() and a release() methods.
Removed HTTP/2's ISession and IStream, now just using HTTP2Session and HTTP2Stream.
Removed *.Adapter classes in favor of interfaces with default methods.
Javadoc additions and clarifications.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-07-25 13:22:14 +02:00
Olivier Lamy
82338660a8
add jetty-ee8-proxy ( #8332 )
...
* restore ee8 proxy
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
2022-07-25 19:54:18 +10:00
Joakim Erdfelt
ba4405e05b
Comment/TODO updates for Jetty 12.0.x from review with @gregw
2022-07-24 21:31:30 -05:00
Simone Bordet
e4de4fd189
Re-enabled the documentation module. ( #8326 )
...
Re-enabled the documentation module.
Now using ee10 rather than ee9.
Updated sources to reference ee10 implementation classes.
Now -DskipTests will compile the documentation classes but not build the documentation, saving time when building.
Much more work to do to update the documentation for Jetty 12.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-07-22 13:41:09 +02:00
Simone Bordet
8cb09e4c59
Re-enabled jetty-ee9-proxy and jetty-ee10-proxy modules. ( #8289 )
...
* Re-enabled jetty-ee9-proxy and jetty-ee10-proxy modules.
Introduced TunnelSupport to abstract out the tunnelling capabilities.
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2022-07-22 13:36:47 +02:00
Joakim Erdfelt
131fd00285
Jetty-12 : Testing for ResourceHandler / ResourceService ( #8327 )
...
* Overhaul of ResourceHandlerTest
* Making ResourceHandlerTest more flexible for testing
+ Each test has it's own docroot
+ Each test decides what it's docroot contents are
* Support QuotedQualityCSV(List<String>)
2022-07-21 15:12:19 -05:00
Lachlan Roberts
fe4ce1443b
merge openid changes to ee10
...
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
2022-07-20 15:11:02 +10:00
Joakim Erdfelt
e84b84e09c
Have jetty-ee#-maven-plugin manage the deployer environment as well
2022-07-19 11:46:20 -05:00
Joakim Erdfelt
76d7bf7c7a
NYI: ServletContextRequest.ServletApiRequest.newPushBuilder
2022-07-18 13:44:36 -05: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
Joakim Erdfelt
fcc443088f
More work cleaning up DefaultServletTest
...
+ fixed DefaultServletTest.testOutputStreamAndCharsetFiltered
+ fixed DefaultServletTest.testWriterAndCharsetFiltered
2022-07-15 13:17:11 -05:00
Joakim Erdfelt
1ff98c3d2b
Disabled currently broken DispatcherTest.testForwardSendError
2022-07-15 11:24:34 -05:00
Joakim Erdfelt
2a2e252de9
Cleanup existing DispatcherTest (before fixing disabled tests)
2022-07-15 10:57:18 -05:00
Joakim Erdfelt
60b618d71d
Remove errorClose -> softClose temporarily as it breaks too much.
2022-07-15 08:30:06 -05:00
Joakim Erdfelt
07dd27c251
Merge branch 'jetty-12.0.x' of github.com:eclipse/jetty.project into jetty-12.0.x
2022-07-14 20:33:36 -05:00
Joakim Erdfelt
9b5d4ce8e2
More DefaultServletTest additions
2022-07-14 18:38:21 -05:00
Greg Wilkins
fc6a92f426
More work on the demos
2022-07-15 09:18:52 +10:00
Joakim Erdfelt
4ae4d01549
Enable more DefaultServletTest methods
2022-07-14 16:19:24 -05:00
Joakim Erdfelt
0dc65e5588
Fixing DefaultServlet Alias Checking
...
+ Fixing DefaultServletTest.testSymLinks
2022-07-14 16:17:12 -05:00
Joakim Erdfelt
da2af1141a
DefaultServlet include effort (incomplete)
2022-07-14 15:56:49 -05:00
Joakim Erdfelt
e1ee2e3fa2
Fixing DefaultServletTest.testWelcomeMultipleDefaultServletsDifferentBases
2022-07-14 15:33:02 -05:00
Joakim Erdfelt
7133c0827e
Cleanup of DefaultServletTest
2022-07-14 13:40:35 -05:00
Greg Wilkins
cdc1b079ae
ee8 ee9 ee10 webapp demos
...
Signed-off-by: Greg Wilkins <gregw@webtide.com>
2022-07-14 16:15:22 +10:00
Joakim Erdfelt
3beaa3997f
Updates to DefaultServletTest
2022-07-13 17:10:43 -05:00
Greg Wilkins
ef97381c96
Remove Generic Request/Response #8291
...
Use Blocker to avoid race between servlet completion and welcome write
2022-07-13 20:26:54 +10:00
Greg Wilkins
1e4fd831ba
Remove Generic Request/Response #8291
...
Replaced Generic Request/Response
2022-07-13 20:26:54 +10:00
Jan Bartel
94afd448a6
Merge remote-tracking branch 'origin/jetty-12.0.x-jndi-env-scope' into jetty-12.0.x
2022-07-13 17:18:35 +10:00
Greg Wilkins
7a962e4676
Remove Generic Request/Response #8291
...
Handle welcome servlets
Handle sendError within dispatcher
2022-07-13 16:58:03 +10:00
Greg Wilkins
13aa9b0bc8
Remove Generic Request/Response #8291
...
Handle redirection of encoded directory URIs
2022-07-13 16:58:03 +10:00
Greg Wilkins
821d5c8d36
Remove Generic Request/Response #8291
...
Basic welcome files working
2022-07-13 16:58:03 +10:00
Jan Bartel
baca1f2008
Fix quickstart jndi test resources
2022-07-13 15:26:59 +10:00
Jan Bartel
50e2a819f1
Make display names of ee10 demo webapps consistent
2022-07-13 14:09:05 +10:00
Jan Bartel
fccf8a9f51
Enable tests
2022-07-13 13:41:17 +10:00
Greg Wilkins
2978472c2b
Remove Generic Request/Response #8291
...
Use HttpFields in request and response
2022-07-13 13:36:51 +10:00
Greg Wilkins
ee58d2a51f
Remove Generic Request/Response #8291
...
Use HttpFields in request
2022-07-13 13:05:07 +10:00
Greg Wilkins
4d52f4a704
Re-enabled tests for #8291
...
Reenabled some tests and started fixing the issues found:
+ Get the correct API context
+ Handle fragments and queries on non slash directory redirection
2022-07-13 13:03:35 +10:00
Jan Bartel
1e30b3ace5
Add ee10 env scope for JNDI
2022-07-13 12:55:19 +10:00
Jan Bartel
825a728d1d
Merge remote-tracking branch 'origin/jetty-12.0.x' into jetty-12.0.x-ee9-demos
2022-07-13 10:19:43 +10: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
Greg Wilkins
9b1cb302b6
Cleanup Resource.Mount ( #8284 )
...
* Introduced the `mountIfNeeded` method to cleanup mount code and reduce checks for "jar:"
* Fixed Quickstart mounting close.
* Improved error message
* Fixed tests for mount cleanup
* More forgiving newResource(URI) implementation
* Even more forgiving newResource(URI) implementation
2022-07-13 09:25:14 +10:00