Hi Marc,
the method readFrom requires the type to convert to and the annotations
from the (sub) resource method. So the runtime environment can call the
MessageBodyWriter not until the resource method was found. But then the
root resource class constructor and the resource locators gets perhaps
different headers, because the MessageBodyReader may change them.
Did you had this in mind?
best regards
Stephan