Hello,
I am trying to create a URL with 2 @PathParam, but it is not working.
With 1 it works fine.
The code is simple:
@ProduceMime({"application/xml","application/json"})
@Path("/someEntity/{entityId}/otherEntity/{otherId}")
public class EntityResource extends CebusResource{
@GET
public Entity getEntity(@PathParam("{entityId}") long
entityId,_at_PathParam("{otherId}") long otherId){
System.out.println(entityId +" - "+otherId );
return new Entity();
}
}
I am getting the value 0 in both parameters. With only one it works
fine. I am using 0.8-ea.
Is this a issue or am i doing something wrong?