@GET
@Path("PathSegmentDefaultList/{p1:.*}")
@Produces
public void getPathSegmentDefaultList(@DefaultValue("a;m1=1/b;m2=2") @PathParam("k") List<PathSegment> p) {
PathSegment segment1 = new PathSegmentImpl("a;m1=1");
PathSegment segment2 = new PathSegmentImpl("b;m2=2");
assertEquals(2, p.size());
assertEquals(segment1, p.get(0));
assertEquals(segment2, p.get(1));
}