I am trying to do some validation on requests coming into my service using the ContainerRequestFilter. Everything is working fine, however there is one problem
ContainerRequestFilter
When we use @NameBinding we need to remove @PreMatching annotation from the Filter. @PreMatching causes all the requests go through the filter.
@NameBinding
@PreMatching