Skip to content
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

Update spring Jetty websocket usage #2

Conversation

lachlan-roberts
Copy link
Member

  • use Session.Listener class instead of @WebSocket annotations
  • use explicit onWebSocketPong method instead of the onFrame notification
  • JettyWebSocketSession now extends AbstractWebSocketSession<Session> directly instead of using AbstractListenerWebSocketSession<Session>, so it can implement the send and receive reactive APIs using Jetty WebSocket demand.
  • Implement a version of the org.springframework.web.reactive.socket.client.WebSocketClient interface for the Jetty WebSocket Client.

gregw and others added 6 commits February 12, 2024 17:17
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
Copy link
Member

@gregw gregw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a light review at this point.

Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
@gregw
Copy link
Member

gregw commented Apr 4, 2024

@lachlan-roberts what is the status of this?

@gregw gregw requested review from sbordet and olamy April 4, 2024 12:20
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
Signed-off-by: Lachlan Roberts <lachlan.p.roberts@gmail.com>
@lachlan-roberts
Copy link
Member Author

@gregw I just updated it with some extra changes from outstanding reviews.

So it is ready to review or merge.

@lachlan-roberts
Copy link
Member Author

@gregw @sbordet nudge

@lachlan-roberts lachlan-roberts merged commit e9cb9a9 into JettyCoreHttpHandlerAdapter Apr 16, 2024
4 checks passed
@lachlan-roberts lachlan-roberts deleted the JettyCoreHttpHandlerAdapter-WebSocket branch April 16, 2024 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants