code: public static URI toNoApiUri(final URI uri, final String context, final String path) {
          final String p = path.matches("(?i)https?://.*") ? path : join(context, path);
          return uri.resolve("/").resolve(p);
      }
docs: Create a URI from the supplied parameters.
  @param uri the server URI
  @param context the server context if any
  @param path the specific API path
  @return new full URI instance