/** * Set URI Info. Should be called by JAX-RS implementation * because of {@code @Context} annotation. * @param info The info to inject */ @Context public final void setUriInfo(@NotNull final UriInfo info) { if (this.needsForwarding()) { this.uri = new ForwardedUriInfo(info, this.hdrs); } else { this.uri = info; } }