Tim Moores wrote:I don't think that is possible using annotations. Declaring the resource programmatically, it's easy: https://jersey.java.net/documentation/latest/resource-builder.html