<div dir="ltr"><div><div>Best to write impl of HttpHandler and register it in the chain.<br></div>This is really simple to do, especially with that simple serving requirements.<br><br><br>--<br></div>tomaz<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 26, 2016 at 11:54 PM, Sascha Sadat-Guscheh <span dir="ltr">&lt;<a href="mailto:kid@bitkid.com" target="_blank">kid@bitkid.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi!<div><br></div><div>As part of our current project (which heavily uses undertow as http server) we need to implement a simple flash policy server.</div><div>This server is basically just a simple SocketServer which returns a small XML fragment</div><div>(java example code in the first answer hereĀ <a href="http://stackoverflow.com/questions/2569863/trouble-creating-a-java-policy-server-for-a-simple-flash-app" target="_blank">http://stackoverflow.com/<wbr>questions/2569863/trouble-<wbr>creating-a-java-policy-server-<wbr>for-a-simple-flash-app</a>)</div><div><br></div><div>My question is, how can i implement this reusing the undertow infrastructure. Directly access XNIO? What would you suggest?</div><div><br></div><div>Thanks, Sascha</div><div><br></div></div><br>______________________________<wbr>_________________<br>
undertow-dev mailing list<br>
<a href="mailto:undertow-dev@lists.jboss.org">undertow-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/undertow-dev</a><br></blockquote></div><br></div>