public static boolean isUnixSocketUri(@NotNull URI uri){
  Objects.requireNonNull(uri,"Required non-null uri");
  return UNIX_SOCKET_SCHEME.equals(uri.getScheme());
}

public static boolean isUnixSocketUri ( @ NotNull URI uri ) { Objects . requireNonNull ( uri , "Required non-null uri" ) ; return UNIX_SOCKET_SCHEME . equals ( uri . getScheme ( ) ) ; }
tests uri to check if it is uri of unix socket
