Class UriUtil

java.lang.Object
io.github.webbasedwodt.utils.UriUtil

public final class UriUtil extends Object
Class that wraps utilities for URIs.
  • Method Details

    • uriRelativeResolve

      public static URI uriRelativeResolve(URI originalUri, String path)
      Similar method to resolve but that always attach the path to the end.
      Parameters:
      originalUri - the original URI to attach the input path
      path - the path to attach to the original URI.
      Returns:
      a relative resolve of the original URI with respect to the input path.