How do I add a filter to my Dropwizard application that will check the response returned by each resource?
Should I use javax.servlet.Filter
orjavax.ws.rs.container.ContainerResponseFilter
Any examples related to its use would be appreciated.
source
share