Object/Class

sttp.model

Uri

Related Docs: class Uri | package model

Permalink

object Uri extends UriInterpolator with Serializable

safeApply methods return a validation error if the scheme contains illegal characers or if the host is empty. unsafeApply throws an IllegalArgumentException if there's a validation error apply doesn't perform any validation.

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

Type Members

  1. type Encoding = (String) ⇒ String

    Permalink
  2. sealed trait QuerySegment extends AnyRef

    Permalink
  3. case class Segment(v: String, encoding: Encoding) extends Product with Serializable

    Permalink
  4. implicit class UriContext extends AnyRef

    Permalink
    Definition Classes
    UriInterpolator
  5. case class UserInfo(username: String, password: Option[String]) extends Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object FragmentEncoding

    Permalink
  5. object FragmentSegment

    Permalink
  6. object HostEncoding

    Permalink
  7. object HostSegment

    Permalink
  8. object PathSegment

    Permalink
  9. object PathSegmentEncoding

    Permalink
  10. object QuerySegment

    Permalink
  11. object QuerySegmentEncoding

    Permalink
  12. def apply(javaUri: URI): Uri

    Permalink
  13. def apply(scheme: String, userInfo: Option[UserInfo], host: String, port: Option[Int], path: Seq[String], querySegments: Seq[QuerySegment], fragment: Option[String]): Uri

    Permalink
  14. def apply(scheme: String, host: String, path: Seq[String], fragment: Option[String]): Uri

    Permalink
  15. def apply(scheme: String, host: String, path: Seq[String]): Uri

    Permalink
  16. def apply(scheme: String, host: String, port: Int, path: Seq[String]): Uri

    Permalink
  17. def apply(scheme: String, host: String, port: Int): Uri

    Permalink
  18. def apply(scheme: String, host: String): Uri

    Permalink
  19. def apply(host: String, port: Int, path: Seq[String]): Uri

    Permalink
  20. def apply(host: String, port: Int): Uri

    Permalink
  21. def apply(host: String): Uri

    Permalink
  22. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  23. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  26. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  27. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  28. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. def parse(uri: String): Either[String, Uri]

    Permalink
  34. def safeApply(scheme: String, userInfo: Option[UserInfo], hostSegment: Segment, port: Option[Int], pathSegments: Seq[Segment], querySegments: Seq[QuerySegment], fragmentSegment: Option[Segment]): Either[String, Uri]

    Permalink
  35. def safeApply(scheme: String, userInfo: Option[UserInfo], host: String, port: Option[Int], path: Seq[String], querySegments: Seq[QuerySegment], fragment: Option[String]): Either[String, Uri]

    Permalink
  36. def safeApply(scheme: String, host: String, path: Seq[String], fragment: Option[String]): Either[String, Uri]

    Permalink
  37. def safeApply(scheme: String, host: String, path: Seq[String]): Either[String, Uri]

    Permalink
  38. def safeApply(scheme: String, host: String, port: Int, path: Seq[String]): Either[String, Uri]

    Permalink
  39. def safeApply(scheme: String, host: String, port: Int): Either[String, Uri]

    Permalink
  40. def safeApply(scheme: String, host: String): Either[String, Uri]

    Permalink
  41. def safeApply(host: String, port: Int, path: Seq[String]): Either[String, Uri]

    Permalink
  42. def safeApply(host: String, port: Int): Either[String, Uri]

    Permalink
  43. def safeApply(host: String): Either[String, Uri]

    Permalink
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  46. def unsafeApply(scheme: String, userInfo: Option[UserInfo], hostSegment: Segment, port: Option[Int], pathSegments: Seq[Segment], querySegments: Seq[QuerySegment], fragmentSegment: Option[Segment]): Uri

    Permalink
  47. def unsafeApply(scheme: String, userInfo: Option[UserInfo], host: String, port: Option[Int], path: Seq[String], querySegments: Seq[QuerySegment], fragment: Option[String]): Uri

    Permalink
  48. def unsafeApply(scheme: String, host: String, path: Seq[String], fragment: Option[String]): Uri

    Permalink
  49. def unsafeApply(scheme: String, host: String, path: Seq[String]): Uri

    Permalink
  50. def unsafeApply(scheme: String, host: String, port: Int, path: Seq[String]): Uri

    Permalink
  51. def unsafeApply(scheme: String, host: String, port: Int): Uri

    Permalink
  52. def unsafeApply(scheme: String, host: String): Uri

    Permalink
  53. def unsafeApply(host: String, port: Int, path: Seq[String]): Uri

    Permalink
  54. def unsafeApply(host: String, port: Int): Uri

    Permalink
  55. def unsafeApply(host: String): Uri

    Permalink
  56. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def notValidated(scheme: String, userInfo: Option[UserInfo], hostSegment: Segment, port: Option[Int], pathSegments: Seq[Segment], querySegments: Seq[QuerySegment], fragmentSegment: Option[Segment]): Uri

    Permalink
    Annotations
    @deprecated
    Deprecated

    use apply

  2. def notValidated(scheme: String, userInfo: Option[UserInfo], host: String, port: Option[Int], path: Seq[String], querySegments: Seq[QuerySegment], fragment: Option[String]): Uri

    Permalink
    Annotations
    @deprecated
    Deprecated

    use apply

  3. def notValidated(scheme: String, host: String, path: Seq[String], fragment: Option[String]): Uri

    Permalink
    Annotations
    @deprecated
    Deprecated

    use apply

  4. def notValidated(scheme: String, host: String, path: Seq[String]): Uri

    Permalink
    Annotations
    @deprecated
    Deprecated

    use apply

  5. def notValidated(scheme: String, host: String, port: Int, path: Seq[String]): Uri

    Permalink
    Annotations
    @deprecated
    Deprecated

    use apply

  6. def notValidated(scheme: String, host: String, port: Int): Uri

    Permalink
    Annotations
    @deprecated
    Deprecated

    use apply

  7. def notValidated(scheme: String, host: String): Uri

    Permalink
    Annotations
    @deprecated
    Deprecated

    use apply

  8. def notValidated(host: String, port: Int, path: Seq[String]): Uri

    Permalink
    Annotations
    @deprecated
    Deprecated

    use apply

  9. def notValidated(host: String, port: Int): Uri

    Permalink
    Annotations
    @deprecated
    Deprecated

    use apply

  10. def notValidated(host: String): Uri

    Permalink
    Annotations
    @deprecated
    Deprecated

    use apply

Inherited from Serializable

Inherited from Serializable

Inherited from UriInterpolator

Inherited from AnyRef

Inherited from Any

Ungrouped