Hi
Consider this method :
@AnnotationA
public Response get() {
return Response.ok().entity(new Foo()).build();
}
@AnnotationB
public class Foo {}
Which annotation should be passed to a given MessageBodyWriter instance capable of serializing Foo ?
Is it @AnnotationB ?
Thanks, Sergey
----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland