- Notifications
You must be signed in to change notification settings - Fork 38.8k
Implement Eclipse Jetty core HTTP handler adapter #32097
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 1 commit
Commits
Show all changes
156 commits Select commit Hold shift + click to select a range
6ff974d Initial boiler plate implementation of JettyCore HttpHandler Adaptor
gregw db609a7 More implementation of the request side
gregw 7a23fbf Created JettyCoreHttpServer
gregw 418d699 Created JettyCoreHttpServer
gregw 930d420 WIP on tests
gregw eb38434 WIP on tests
gregw 88e7467 Cleanup start/stop for jetty
gregw c5a327c retainable bytebuffer!
gregw 49abe72 Non blocking invocation type
gregw 6ca453c split out into separate files
gregw ea71c61 minor httpHeader optimizations
gregw dd72a14 since updated with expected release
gregw 50e78d3 Initial implementation of the writeWith methods in JettyCoreServerHtt…
lachlan-roberts ab844d6 Implement the ZeroCopyHttpOutputMessage interface for JettyCoreServer…
lachlan-roberts 4cf2b0c Add temporary fix for cookies
lachlan-roberts 77772cb disable setting of the same site cookie attribute to fix test
lachlan-roberts 8617ded rearrange methods in JettyCoreServerHttpResponse
lachlan-roberts 375e3b6 fix issues with cookies, committing response, and with ZeroCopyHttpOu…
lachlan-roberts 0db46f2 cleanups
lachlan-roberts 2081ae0 cleanups
lachlan-roberts 855e268 removed TODO
gregw 191853d Reformatted code
gregw c8a7cc3 Fixed unset response status bug
gregw 85bdb2b Request header mutation support
gregw 39f9ce8 Do not use canonical path
gregw c46382e Track leaks (for now) and retain DataBuffer chunks
gregw 72921c0 Fixes for Jetty Core WebSocket
lachlan-roberts 05df5d1 Temporary fix for cookies in JettyCoreServerHttpResponse with TODOs
lachlan-roberts 89dbcbf Do not actually commit response in JettyCoreServerHttpResponse & fix …
lachlan-roberts 654407e Add JettyCore upgrade option in HandshakeWebSocketService
lachlan-roberts 802419e move getNativeRequest/Response to ServerHttpRequest/Response interfaces
lachlan-roberts 4518138 Reformatted code
gregw 67622d1 WIP on fixing leaks
gregw 0530dd7 WIP on fixing leaks
gregw a5b7d21 WIP on fixing tests
gregw f25837c Updated to jetty 12.0.6
gregw 7cf3214 Move all response cookies to multiMap for possible mutation by spring
gregw c8c3734 Use an atomicReference to release the last used databuffer after onNe…
gregw 74aa6cb less allocations for releasing after onNext
gregw befdde4 release DataBuffer from the JettyCoreServerHttpResponse
lachlan-roberts ee59264 fixed style
gregw bbd2573 fix build with jetty 12.0.7-SNAPSHOT
olamy b1c778d Updated to jetty 12.0.6
gregw 5f1712d Implement a JettyWebSocketSession based on demand.
lachlan-roberts 700f8e6 Add a Jetty implementation of the spring WebSocketClient interface.
lachlan-roberts 1c7935e Prevent possible ReadPendingException from multiple demand.
lachlan-roberts bbd4e68 Update the JettyWebSocketHandlerAdapter as a Session.Listener
lachlan-roberts 1f09a94 fixes for checkstyle
lachlan-roberts 08e9177 Ensure DataBuffer is processed correctly for BINARY messages.
lachlan-roberts 26cac28 Wait for close of Session before calling handlerCompletionSink
lachlan-roberts e2b452a fix checkstyle error
lachlan-roberts b356adf Merge remote-tracking branch 'webtide/main' into JettyCoreHttpHandler…
gregw a0f4fe2 Changes from review.
lachlan-roberts 0f88d7f Merge remote-tracking branch 'webtide/main' into JettyCoreHttpHandler…
gregw 65cf738 updated to jetty 12.0.7
gregw 6e25189 updated to jetty 12.0.7
gregw 8f9d07c Merge remote-tracking branch 'webtide/main' into JettyCoreHttpHandler…
gregw 34429fe updated to jetty 12.0.7
gregw 5d5e46a fixed checkstyle
gregw 6187cdf Merge branch 'main' into JettyCoreHttpHandlerAdapter
gregw d9202dc Merge branch 'spring-projects:main' into JettyCoreHttpHandlerAdapter
gregw 85505fe Implement LifeCycle for JettyWebSocketClient
lachlan-roberts cd9063b additional changes from review
lachlan-roberts e9cb9a9 Merge pull request #2 from webtide/JettyCoreHttpHandlerAdapter-WebSocket
lachlan-roberts d6986ee Use abstract request/response classes
gregw 19215d4 Suppress NullAway warnings for Jetty WebSocket classes
lachlan-roberts 364183c fix other checkstyle warnings
lachlan-roberts a76465a backed out abstract response change
gregw c0cdb2b Merge remote-tracking branch 'origin/main' into JettyCoreHttpHandlerA…
gregw 82a18ee Steps towards abstract response class
gregw fca5d22 add explicit dependency on jetty-websocket-api
lachlan-roberts 17eb8df checkstyle
gregw 38e4913 updated response to use the abstract
gregw 85b4041 updated response to use the abstract
gregw df6ad58 Merge remote-tracking branch 'refs/remotes/webtide/JettyCoreHttpHandl…
gregw 37daa27 Initial boiler plate implementation of JettyCore HttpHandler Adaptor
gregw c5b37ba More implementation of the request side
gregw 0ea2180 Created JettyCoreHttpServer
gregw 49363c1 Created JettyCoreHttpServer
gregw 090c8c4 WIP on tests
gregw 390f52e WIP on tests
gregw b884f65 Cleanup start/stop for jetty
gregw 2aedef1 retainable bytebuffer!
gregw 4613e8c Non blocking invocation type
gregw 5378423 split out into separate files
gregw f070f90 minor httpHeader optimizations
gregw dc02b28 since updated with expected release
gregw 543c30a Initial implementation of the writeWith methods in JettyCoreServerHtt…
lachlan-roberts 0ef95af Implement the ZeroCopyHttpOutputMessage interface for JettyCoreServer…
lachlan-roberts 4c0d782 Add temporary fix for cookies
lachlan-roberts c5caff8 disable setting of the same site cookie attribute to fix test
lachlan-roberts 8bb9f63 rearrange methods in JettyCoreServerHttpResponse
lachlan-roberts 6311b33 fix issues with cookies, committing response, and with ZeroCopyHttpOu…
lachlan-roberts 01bde19 cleanups
lachlan-roberts 1c6d8db cleanups
lachlan-roberts 071cd55 removed TODO
gregw d18b34b Reformatted code
gregw 6b36d70 Fixed unset response status bug
gregw d86e795 Request header mutation support
gregw 8d64408 Do not use canonical path
gregw 6c4f7bc Track leaks (for now) and retain DataBuffer chunks
gregw 56e933c Fixes for Jetty Core WebSocket
lachlan-roberts 1bce7b9 Temporary fix for cookies in JettyCoreServerHttpResponse with TODOs
lachlan-roberts f934d31 Do not actually commit response in JettyCoreServerHttpResponse & fix …
lachlan-roberts d2e152b Add JettyCore upgrade option in HandshakeWebSocketService
lachlan-roberts 014c77c move getNativeRequest/Response to ServerHttpRequest/Response interfaces
lachlan-roberts cd8bf6a Reformatted code
gregw c20b865 WIP on fixing leaks
gregw a8c9e95 WIP on fixing leaks
gregw c6e322e WIP on fixing tests
gregw e830a02 Updated to jetty 12.0.6
gregw 14d9a76 Move all response cookies to multiMap for possible mutation by spring
gregw d5ff365 Use an atomicReference to release the last used databuffer after onNe…
gregw 8efbc37 less allocations for releasing after onNext
gregw 9a68ff7 release DataBuffer from the JettyCoreServerHttpResponse
lachlan-roberts 011d856 fixed style
gregw 5e71a1c fix build with jetty 12.0.7-SNAPSHOT
olamy 7cb17ce updated to jetty 12.0.7
gregw f47baaf updated to jetty 12.0.7
gregw 9bba36b fixed checkstyle
gregw f06131b Implement a JettyWebSocketSession based on demand.
lachlan-roberts 8cc8b11 Add a Jetty implementation of the spring WebSocketClient interface.
lachlan-roberts 2b9510d Prevent possible ReadPendingException from multiple demand.
lachlan-roberts 96a8e99 Update the JettyWebSocketHandlerAdapter as a Session.Listener
lachlan-roberts f195e4e fixes for checkstyle
lachlan-roberts 7939314 Ensure DataBuffer is processed correctly for BINARY messages.
lachlan-roberts 30a7c41 Wait for close of Session before calling handlerCompletionSink
lachlan-roberts 7ccb2e1 fix checkstyle error
lachlan-roberts 38ef5bb Changes from review.
lachlan-roberts ea1dd82 Implement LifeCycle for JettyWebSocketClient
lachlan-roberts e32983b additional changes from review
lachlan-roberts 077b60f Use abstract request/response classes
gregw fa5f800 Suppress NullAway warnings for Jetty WebSocket classes
lachlan-roberts 442f11c fix other checkstyle warnings
lachlan-roberts bd25bd7 backed out abstract response change
gregw 3785321 Steps towards abstract response class
gregw d8eb3fa checkstyle
gregw c6b1914 updated response to use the abstract
gregw a2420fc updated response to use the abstract
gregw 5fbf83c add explicit dependency on jetty-websocket-api
lachlan-roberts 9b7a2f4 Polishing
poutsma b8d208d Replace flatMap(...,1) with concatMap
poutsma db82c22 Make copy of headers map
poutsma 16af65a Introduce JettyDataBuffer
poutsma 6c48a83 Polish JettyDataBuffer
poutsma feef4a7 Polishing
poutsma d00ed1e Polishing
poutsma 1f2f0af Merge remote-tracking branch 'poutsma/gh-32097' into JettyCoreHttpHan…
gregw 08ce47f Merge remote-tracking branch 'poutsma/gh-32097' into JettyCoreHttpHan…
gregw 8753907 Merge remote-tracking branch 'origin/main' into JettyCoreHttpHandlerA…
gregw 260da30 addExact
gregw d415757 doCommit not required
gregw 0b4b65f PR #32097 - changes to address reviews for websocket
lachlan-roberts 5dd2538 doCommit not required
gregw 6380d3a fix checkstyle errors
lachlan-roberts ca25b6c fix failure for CookieIntegrationTests.partitionedAttributeTest
lachlan-roberts File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
cleanups
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
- Loading branch information
commit 01bde19679524ad04a66a71971a3d2331d8bd1a9
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All fields in this private
IteratingCallbackare Jetty types. I'm wondering if it makes sense for this to be in Jetty for wider availability?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. It might be in a slightly different form... probably something like:
I'll try to get that in this months release.