On Thu, Oct 16, 2014 at 12:47 AM, Stuart Douglas <sdouglas(a)redhat.com>
wrote:
The equivalent of a valve is a HttpHandler, you can wire them up
programatically via jboss-web.xml, something like:
Or since upcoming wildfly 8.2 and 9 it is also possible as global
configuration in undertow subsystem
<host name="default-host" alias="localhost, some.host"
default-web-module="something.war">
<location name="/" handler="welcome-content">
<filter-ref name="custom-filter"/>
....
</host>
....
<filters>
<filter name="custom-filter"
class-name="io.undertow.server.handlers.HttpTraceHandler"
module="io.undertow.core" />
</filters>