users@jax-rs-spec.java.net

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

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

Hi

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:
https://java.net/jira/browse/JAX_RS_SPEC-438

Thanks, Sergey