<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi!<div class=""><br class=""></div><div class="">As part of our current project (which heavily uses undertow as http server) we need to implement a simple flash policy server.</div><div class="">This server is basically just a simple SocketServer which returns a small XML fragment</div><div class="">(java example code in the first answer here&nbsp;<a href="http://stackoverflow.com/questions/2569863/trouble-creating-a-java-policy-server-for-a-simple-flash-app" class="">http://stackoverflow.com/questions/2569863/trouble-creating-a-java-policy-server-for-a-simple-flash-app</a>)</div><div class=""><br class=""></div><div class="">My question is, how can i implement this reusing the undertow infrastructure. Directly access XNIO? What would you suggest?</div><div class=""><br class=""></div><div class="">Thanks, Sascha</div><div class=""><br class=""></div></body></html>