users@jersey.java.net

[Jersey] Jersey thinks _at_MatrixParam is an entity

From: Gili <cowwoc_at_bbs.darktech.org>
Date: Wed, 31 Dec 2008 11:48:29 -0800 (PST)

I defined the following method:

        @GET
        @Produces(MediaType.APPLICATION_XML)
        public Response getRandomImages(@MatrixParam("tag") List<List<String>>
oneOfTags)

Jersey complains: A HTTP GET method, public javax.ws.rs.core.Response
somePackage.RandomImageResource.getRandomImages(java.util.List), should not
consume any entity.

Am I doing anything wrong or does this seem like a bug to anyone else?

Thank you,
Gili
-- 
View this message in context: http://n2.nabble.com/Jersey-thinks-%40MatrixParam-is-an-entity-tp2097066p2097066.html
Sent from the Jersey mailing list archive at Nabble.com.