[undertow-dev] Creating a websocket proxy with undertow

Marc Boorshtein marc.boorshtein at tremolosecurity.com
Thu Nov 29 16:32:37 EST 2018


Using the 1.4 series, I'm trying to handle upgrade and websockets.  Looking
at a few examples and the code I think what I need to do is:

1.  add the WebSocketServlet to the right path
2.  implement WebSocketConnectionCallback that will call my remote ws://
server

Am I on the right track?  I haven't found an example of doing this with
undertow but found something similar with jetty (
https://github.com/chipster/chipster-web-server/blob/master/src/main/java/fi/csc/chipster/proxy/WebSocketProxyServlet.java)
but I havne't found the same thing for undertow so any pointers would be
appreciated.

Thanks


Marc Boorshtein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/undertow-dev/attachments/20181129/c8a1035a/attachment.html 


More information about the undertow-dev mailing list