[jax-rs-spec users] [jsr339-experts] Trailing slash in UriInfo.getBaseUri

From: Sergey Beryozkin <>
Date: Fri, 29 Nov 2013 10:44:56 +0000


Is UriInfo.getBaseUri() expected to return a value with the trailing
slash ?

The documentation says the path values of root resources are relative to
base URI. Users though typically work with UriBuilder when concatenating
paths, so I'm not sure how important or not the trailimng slash might be.

I've opened a minor (doc) improvement request:

Thanks, Sergey