users@jsr311.java.net

Re: PathSegment question

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Mon, 01 Dec 2008 11:40:18 -0500

On Nov 28, 2008, at 10:00 AM, Sergey Beryozkin wrote:
>
> if we have say a URI ending with a forward slash '/bar/' then how
> many PathSegments a UriInfo.getPathSegments() should return ? I
> think it should be 2 - can someone confirm it please ?
>
2 segments: "bar" and "".

Marc.

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.