An example of how to use Undertow non-blocking handlers in JBoss AS