I may have solved this, I decided to read the JAX-RS specs to see what
was injectable and discovered that I should be injecting the Request
interface - I'd tried using the ContainerRequest class... Although this
still seems a little cludgy, am I on the right track or is there a much
simpler solution?
Thanks
John
>Hi, this seems an obvious thing but I can't seem to find an answer.
What is the best/recommended way (if at all) of passing data from a
>container/resource filter back to the resource object after the filter
completes..
>For example I have a container filter that does some checks after
which I'd like to make the results available in the resource object, but I
>can't find a simple way to do it.
>At first I thought I could add a property to the ContainerRequest
object passed to my filter method, but I can't seem to find a way to get
>access to this (either directly or via something else) in my GET
function for example within the resource object.