public final class SnapshotUriUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static @Nullable String |
maskUserInfo(@Nullable String raw)
Masks the password of every URI in the given text.
|
static @Nullable String |
maskUserInfo(@Nullable URI uri) |
@Nullable public static @Nullable String maskUserInfo(@Nullable @Nullable URI uri)
uri - URI, possibly carrying a login:password user info section.uri with its password masked, or null if uri is null.@Nullable public static @Nullable String maskUserInfo(@Nullable @Nullable String raw)
Scheme, login, host and path are kept, so the result stays usable for diagnostics.
Text without a URI scheme, such as a local file system path, is returned unchanged.
raw - Text with URIs, e.g. a snapshot destination or a comma-separated list of sources.
GridGain In-Memory Computing Platform : ver. 8.9.37 Release Date : August 25 2026