package uri

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. uri
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait AbsoluteOrEmptyPath extends UrlPath

    This trait has two subclasses; AbsolutePath and EmptyPath.

    This trait has two subclasses; AbsolutePath and EmptyPath. This encompasses the paths allowed to be used in URLs that have an Authority. As per RFC 3986:

    When authority is present, the path must either be empty or begin with a slash ("/") character.

  2. final case class AbsolutePath(parts: Vector[String])(implicit config: UriConfig = UriConfig.default) extends AbsoluteOrEmptyPath with Product with Serializable

    An AbsolutePath is a path that starts with a slash

  3. final case class AbsoluteUrl(scheme: String, authority: Authority, path: AbsoluteOrEmptyPath, query: QueryString, fragment: Option[String])(implicit config: UriConfig = UriConfig.default) extends UrlWithAuthority with Product with Serializable

    Represents absolute URLs, for example: http://example.com

  4. case class Authority(userInfo: Option[UserInfo], host: Host, port: Option[Int])(implicit config: UriConfig = UriConfig.default) extends Product with Serializable
  5. final case class DataUrl(mediaType: MediaType, base64: Boolean, data: Array[Byte])(implicit config: UriConfig = UriConfig.default) extends UrlWithoutAuthority with Product with Serializable

    Represents URLs with the data scheme, for example: data:text/plain;charset=UTF-8;page=21,the%20data:1234,5678

  6. final case class DomainName(value: String)(implicit conf: UriConfig = UriConfig.default) extends Host with PunycodeSupport with Product with Serializable
  7. sealed trait Host extends AnyRef
  8. final case class IpV4(octet1: Byte, octet2: Byte, octet3: Byte, octet4: Byte)(implicit conf: UriConfig = UriConfig.default) extends Host with Product with Serializable
  9. final case class IpV6(piece1: Char, piece2: Char, piece3: Char, piece4: Char, piece5: Char, piece6: Char, piece7: Char, piece8: Char)(implicit conf: UriConfig = UriConfig.default) extends Host with Product with Serializable
  10. case class MediaType(rawValue: Option[String], parameters: Vector[(String, String)]) extends Product with Serializable
  11. sealed trait Path extends Product with Serializable
  12. final case class ProtocolRelativeUrl(authority: Authority, path: AbsoluteOrEmptyPath, query: QueryString, fragment: Option[String])(implicit config: UriConfig = UriConfig.default) extends UrlWithAuthority with Product with Serializable

    Represents absolute URLs, for example: //example.com

  13. case class QueryString(params: Vector[(String, Option[String])])(implicit config: UriConfig = UriConfig.default) extends Product with Serializable
  14. final case class RelativeUrl(path: UrlPath, query: QueryString, fragment: Option[String])(implicit config: UriConfig = UriConfig.default) extends Url with Product with Serializable

    Represents Relative URLs which do not contain an authority.

    Represents Relative URLs which do not contain an authority. Examples include:

    • Root Relative: /index.html?a=b
    • Rootless Relative: index.html?a=b
    • Rootless Relative (with dot segment): ../index.html?a=b
  15. final case class RootlessPath(parts: Vector[String])(implicit config: UriConfig = UriConfig.default) extends UrlPath with Product with Serializable
  16. final case class SimpleUrlWithoutAuthority(scheme: String, path: UrlPath, query: QueryString, fragment: Option[String])(implicit config: UriConfig = UriConfig.default) extends UrlWithoutAuthority with Product with Serializable
  17. sealed trait Uri extends Product with Serializable

    Represents a URI.

    Represents a URI. See RFC 3986

    Can either be a URL or a URN

    URLs will be one of these forms:

    • Absolute: http://example.com
    • Protocol Relative: //example.com
    • Without Authority: mailto:[email protected]
    • Root Relative: /index.html?a=b
    • Rootless Relative: index.html?a=b
    • Rootless Relative (with doc segment): ../index.html?a=b

    URNs will be in the form urn:example:example2

  18. class UriConversionException extends UriException
  19. class UriException extends Exception
  20. sealed trait Url extends Uri

    Represents a URL, which will be one of these forms:

    Represents a URL, which will be one of these forms:

    • Absolute: http://example.com
    • Protocol Relative: //example.com
    • Without Authority: mailto:[email protected]
    • Root Relative: /index.html?a=b
    • Rootless Relative: index.html?a=b
    • Rootless Relative (with doc segment): ../index.html?a=b
  21. sealed trait UrlPath extends Path
  22. sealed trait UrlWithAuthority extends Url

    Represents absolute URLs with an authority (i.e.

    Represents absolute URLs with an authority (i.e. URLs with a host), examples include:

    • Absolute URL: http://example.com
    • Protocol Relative URL: //example.com
  23. sealed trait UrlWithoutAuthority extends Url

    Represents URLs that do not have an authority, for example: mailto:[email protected]

  24. final case class Urn(path: UrnPath)(implicit config: UriConfig = UriConfig.default) extends Uri with Product with Serializable

    Represents a URN.

    Represents a URN. See RFC 2141 and RFC 8141

    URNs will be in the form urn:nid:nss

  25. final case class UrnPath(nid: String, nss: String)(implicit config: UriConfig = UriConfig.default) extends Path with Product with Serializable
  26. case class UserInfo(user: String, password: Option[String])(implicit config: UriConfig = UriConfig.default) extends Product with Serializable

Value Members

  1. val NotImplementedForScalaJsError: NotImplementedError
  2. object AbsoluteOrEmptyPath extends Serializable
  3. object AbsolutePath extends Serializable
  4. object AbsoluteUrl extends Serializable
  5. object Authority extends Serializable
  6. object DataUrl extends Serializable
  7. object DomainName extends Serializable
  8. object EmptyPath extends AbsoluteOrEmptyPath with Product with Serializable
  9. object Host
  10. object IpV4 extends Serializable
  11. object IpV6 extends Serializable
  12. object MediaType extends Serializable
  13. object Path extends Serializable
  14. object PathParts
  15. object ProtocolRelativeUrl extends Serializable
  16. object QueryString extends Serializable
  17. object RelativeUrl extends Serializable
  18. object RootlessPath extends Serializable
  19. object SimpleUrlWithoutAuthority extends Serializable
  20. object Uri extends Serializable
  21. object Url extends Serializable
  22. object UrlPath extends Serializable
  23. object UrlWithAuthority extends Serializable
  24. object UrlWithoutAuthority extends Serializable
  25. object Urn extends Serializable
  26. object UrnPath extends Serializable
  27. object UserInfo extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped