Details
-
Bug
-
Resolution: Done
-
Major
-
3.0.18.Final
-
None
-
None
Description
It appears that if @PreMatching is applied to a ClientReqeuestFilter is prevents it from being used. This is due to the generic way org.jboss.resteasy.core.interception.JaxrsInterceptorRegistry#postMatch [line:127] performs matching.
According to the JavaDoc:
Global binding annotation that can be applied to a ContainerRequestFilter container request filter to indicate that such filter...
Therefore this annotation should only apply to the ContainerRequestFilter and not ClientRequestFilter.
The reason this issue occurred is due to attempting to implement both Client and Container filters in on class due to common usage.