
public class ProductsClass {

    @GET
    @Path("{id}")
    @Produces(MediaType.APPLICATION_XML)
	@RolesAllowed("XML-USERS")
    public String getXmlProduct() {
        //TODO return proper representation object
        throw new UnsupportedOperationException();
    }
    
    @GET
    @Consumes(MediaType.APPLICATION_JSON)
	@RolesAllowed("JSON-USERS")
    public void getAllJsonProducts(String content) {
    }
}