Maybe you understood it wrong .. it’s not a http connection. It’s a simple socket
connection .. so no handshake no nothing.
Check the example i pasted! I think we are going to use XNIO for that .. not sure if we
should reuse the undertow XNIO context or create a new one.
Sascha
On 27 Oct 2016, at 12:52, Tomaž Cerar <tomaz.cerar(a)gmail.com>
wrote:
Best to write impl of HttpHandler and register it in the chain.
This is really simple to do, especially with that simple serving requirements.
--
tomaz
On Wed, Oct 26, 2016 at 11:54 PM, Sascha Sadat-Guscheh <kid(a)bitkid.com
<mailto:kid@bitkid.com>> wrote:
Hi!
As part of our current project (which heavily uses undertow as http server) we need to
implement a simple flash policy server.
This server is basically just a simple SocketServer which returns a small XML fragment
(java example code in the first answer here
http://stackoverflow.com/questions/2569863/trouble-creating-a-java-policy...
<
http://stackoverflow.com/questions/2569863/trouble-creating-a-java-policy...>)
My question is, how can i implement this reusing the undertow infrastructure. Directly
access XNIO? What would you suggest?
Thanks, Sascha
_______________________________________________
undertow-dev mailing list
undertow-dev(a)lists.jboss.org <mailto:undertow-dev@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/undertow-dev
<
https://lists.jboss.org/mailman/listinfo/undertow-dev>