title: How can I get resource annotations in a Jersey 2.4 filter?
body: <p>My question is essentially the same as this one: <a href="https://stackoverflow.com/questions/8315188/how-can-i-get-resource-annotations-in-a-jersey-containerresponsefilter">How can I get resource annotations in a Jersey ContainerResponseFilter</a>.</p>
  
  <p>But I'm using Java Jersey 2.4 and can't find any sign of the ResourceFilterFactory or ResourceFilter classes. The documentation also doesn't mention them. Have they been deprecated or are they just really well hidden? If they've been deprecated, what can I use instead? Is there now a way with Jersey 2.4 and 2.5 to get the resource annotations from a ContainerRequestFilter?</p>
  
  <p>Thanks</p>