I want to make it so my audit log captures both the request and the response. I found that requestContent and responseContent say it should do this, but on first attempt I got "" back.
After some googling I found that I had to add the following
environment.servlets().addFilter("teeFilter", TeeFilter.class).addMappingForUrlPatterns(EnumSet.allOf(DispatcherType.class), true, "/*");
This seems to work for Servlets, but for Jersey this doesn't seem to work.
I was wondering how I can get this feature to work with Jersey as well?
Thanks for your time!