@GET
@Path("PathSegmentDefaultSortedSet/{p1:.*}")
@Produces
public void getPathSegmentDefaultSortedSet(@DefaultValue("a;m1=1/b;m2=2") @PathParam("k") SortedSet<PathSegment> p) {
PathSegment segment1 = new PathSegmentImpl("a;m1=1");
PathSegment segment2 = new PathSegmentImpl("b;m2=2");
assertEquals(2, p.size());
assertTrue(p.contains(segment1));
assertTrue(p.contains(segment2));
}