SafeUri extension

Extension providing a crash-safe alternative to Uri.pathSegments.

on

Properties

safePathSegments List<String>

Available on Uri, provided by the SafeUri extension

Like Uri.pathSegments, but never throws a FormatException when the path contains malformed percent-encoded sequences (e.g. /%AF/zsssss).
no setter
safeQueryParameters Map<String, String>

Available on Uri, provided by the SafeUri extension

no setter

Static Methods

safeDecodeFull(String path) String

Available on Uri, provided by the SafeUri extension