code: private String resolveUri(String rawUri, EntityContext context, boolean handleURIOverride) throws Siren4JException {
          String resolvedUri = rawUri;
          String baseUri = null;
          boolean fullyQualified = false;
          if (context.getCurrentObject() instanceof Resource) {
              Resource resource = (Resource) context.getCurrentObject();
              baseUri = resource.getBaseUri();
              fullyQualified = resource.isFullyQualifiedLinks() == null ? false : resource.isFullyQualifiedLinks();
              String override = resource.getOverrideUri();
              if (handleURIOverride && StringUtils.isNotBlank(override)) {
                  resolvedUri = override;
              }
          }
          resolvedUri = handleTokenReplacement(resolvedUri, context);
  
          if (fullyQualified && StringUtils.isNotBlank(baseUri)
                  && !isAbsoluteUri(resolvedUri)) {
              StringBuffer sb = new StringBuffer();
              sb.append(baseUri.endsWith("/") ? baseUri.substring(0, baseUri.length() - 1) : baseUri);
              sb.append(resolvedUri.startsWith("/") ? resolvedUri : "/" + resolvedUri);
              resolvedUri = sb.toString();
          }
          return resolvedUri;
      }
docs: Resolves the raw uri by replacing field tokens with the actual data.
  
  @param rawUri assumed not <code>null</code> or .
  @param context
  @return uri with tokens resolved.
  @throws Siren4JException