Class UriUtils
java.lang.Object
ch.tocco.nice2.netui.api.bind.util.UriUtils
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic URI
checkNoQuery
(URI uri) static URI
checkNoQuery
(URI uri, String msg) static String
static String
static URI
setFragment
(URI uri, String fragment) static String[]
static String[]
splitPath
(URI uri, @Nullable Set<UriUtils.SplitMode> mode) static String[]
splitPathDecode
(URI uri) static String[]
splitPathDecode
(URI uri, @Nullable Set<UriUtils.SplitMode> mode) static URI
Example: "entity://User/20/firstname" → "entity://User/20"static URI
stripFragment
(URI uri) static UnresolvableUriException
unresolvable
(URI uri, String msg) static UnresolvableUriException
unresolvable
(URI uri, String msg, Throwable cause)
-
Field Details
-
UTF8
- See Also:
-
-
Method Details
-
decode
-
encode
-
splitPath
-
splitPath
-
splitPathDecode
-
splitPathDecode
-
stripFragment
-
setFragment
-
unresolvable
-
unresolvable
-
checkNoQuery
- Throws:
UnresolvableUriException
-
checkNoQuery
- Throws:
UnresolvableUriException
-
stepUpFromFieldToEntity
Example: "entity://User/20/firstname" → "entity://User/20"- Throws:
UnresolvableUriException
-