Class UriHelper

java.lang.Object
io.deephaven.uri.UriHelper

public class UriHelper extends Object
  • Constructor Details

    • UriHelper

      public UriHelper()
  • Method Details

    • isUriSafe

      public static boolean isUriSafe(String part)
    • isLocalPath

      public static boolean isLocalPath(URI uri)
      A URI is a "local path" when the only components are scheme and path; and path starts with "/".
      Parameters:
      uri - the URI
      Returns:
      true if uri is a "local path"
    • isRemotePath

      public static boolean isRemotePath(URI uri)
      A URI is a "remote path" when the only components are scheme, host, and path; and path starts with "/".
      Parameters:
      uri - the URI
      Returns:
      true if uri is a "remote path"
    • isRemoteTarget

      public static boolean isRemoteTarget(URI uri)
      A URI is a "remote target" when the only components are scheme, host, and path; and path is empty.
      Parameters:
      uri - the URI
      Returns:
      true if uri is a "remote target"
    • isRemoteQuery

      public static boolean isRemoteQuery(URI uri)
      A URI is a "remote query" when the only components are scheme, host, query, and path; and path is empty.
      Parameters:
      uri - the URI
      Returns:
      true if uri is a "remote query"