A org.http4s.Uri may begin with a scheme name that refers to a specification for assigning identifiers within that scheme.
A org.http4s.Uri may begin with a scheme name that refers to a specification for assigning identifiers within that scheme.
If the scheme is defined, the URI is absolute. If the scheme is not defined, the URI is a relative reference.
https://www.ietf.org/rfc/rfc3986.txt, Section 3.1
Percent-decodes a string.
Percent-decodes a string.
the string to decode
the charset of percent-encoded characters
true if '+'
is to be interpreted as a ' '
a predicate of characters whose percent-encoded form is left percent-encoded. Almost certainly should be left empty.
Percent-encodes a string.
Percent-encodes a string. Depending on the parameters, this method is appropriate for URI or URL form encoding. Any resulting percent-encodings are normalized to uppercase.
the string to encode
the charset to use for characters that are percent encoded
if space is not skipped, determines whether it will be
rendreed as a "+"
or a percent-encoding according to charset
.
a predicate of characters exempt from encoding. In typical use, this is composed of all Unreserved URI characters and sometimes a subset of Reserved URI characters.
Decodes the String to a Uri using the RFC 3986 uri decoding specification
Remove dot sequences from a Path, per RFC 3986 Sec 5.2.4 Adapted from" https://github.com/Norconex/commons-lang/blob/c83fdeac7a60ac99c8602e0b47056ad77b08f570/norconex-commons-lang/src/main/java/com/norconex/commons/lang/url/URLNormalizer.java#L429
Decodes the String to a Uri using the RFC 7230 section 5.3 uri decoding specification
Resolve a relative Uri reference, per RFC 3986 sec 5.2
Parses a String to a Uri according to RFC 3986.
Parses a String to a Uri according to RFC 3986. If decoding fails, throws a ParseFailure.
For totality, call #fromString. For compile-time verification of literals, call #uri.
Literal syntax for URIs.
Literal syntax for URIs. Invalid or non-literal arguments are rejected at compile time.
(Since version 0.20) use uri"" string interpolation instead