I have a bit of a strange requirement, but I need to capture all http traffic going in and out of wildfly 10, including request and response content. I'm looking into the APIs and found some discussions on using either an HttpHandler or a Filter, however I'm not entirely sure what right looks like. Are there any examples of using either of these that dump request/response messages to console or something to that effect?
I also need to capture websocket traffic, but i'll save that for another discussion