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
My question is, how can i implement this reusing the undertow infrastructure. Directly access XNIO? What would you suggest?