JBoss CLI add undertow http handler

Somehow it was hard to find this on the internet.

Example of adding a custom http handler to undertow in EAP 7 through CLI.

/subsystem=undertow/configuration=filter/custom-filter=my-useful-name-for-filter:add(class-name=…,module=…)

/subsystem=undertow/server=default-server/host=default-host/filter-ref=my-useful-name-for-filter

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: