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@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-server-for-a-simple-flash-app)

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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/undertow-dev