Packages

object Uri extends UriFunctions with Serializable

Source
Uri.scala
Linear Supertypes
Serializable, Serializable, UriFunctions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Uri
  2. Serializable
  3. Serializable
  4. UriFunctions
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Authority (userInfo: Option[UserInfo] = None, host: Host = RegName("localhost"), port: Option[Int] = None) extends Renderable with Product with Serializable
  2. type Fragment = String
  3. sealed trait Host extends Renderable
  4. final case class IPv4 (address: CaseInsensitiveString) extends Host with Product with Serializable
  5. final case class IPv6 (address: CaseInsensitiveString) extends Host with Product with Serializable
  6. class Macros extends AnyRef
    Annotations
    @bundle()
  7. type Path = String
  8. final case class RegName (host: CaseInsensitiveString) extends Host with Product with Serializable
  9. type Scheme = CaseInsensitiveString
  10. type UserInfo = String

Value Members

  1. def fromString(s: String): ParseResult[Uri]

    Decodes the String to a Uri using the RFC 3986 uri decoding specification

  2. def removeDotSegments(path: Path): Path

    Remove dot sequences from a Path, per RFC 3986 Sec 5.2.4

    Remove dot sequences from a Path, per RFC 3986 Sec 5.2.4

    Definition Classes
    UriFunctions
  3. def requestTarget(s: String): ParseResult[Uri]

    Decodes the String to a Uri using the RFC 7230 section 5.3 uri decoding specification

  4. def resolve(base: Uri, reference: Uri): Uri

    Resolve a relative Uri reference, per RFC 3986 sec 5.2

    Resolve a relative Uri reference, per RFC 3986 sec 5.2

    Definition Classes
    UriFunctions
  5. def unsafeFromString(s: String): Uri

    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.

  6. macro def uri(s: String): Uri

    Literal syntax for URIs.

    Literal syntax for URIs. Invalid or non-literal arguments are rejected at compile time.

    Definition Classes
    UriFunctions
  7. object IPv4 extends Serializable
  8. object IPv6 extends Serializable
  9. object RegName extends Serializable