Marek, Bill, Sergey,
based on your knowledge on the internals of your JAX-RS implementations, do you think it would be a problem to send an HTTP request from a client response filter and then substitute the original response data with the response received from that 'second' request?
My use case is a filter that shoud do auth token refresh and make that transparent to the code that issued the initial request.
Sounds strange, I know, but parsing e.g. WWW-Authenticate response header in the filter for sanity checks and then again in the 'client code' to extract real auth failure cause isn't really any better.
Jan