Object/Class

sttp.model

Uri

Related Docs: class Uri | package model

Permalink

object Uri extends UriInterpolator with Serializable

For a general description of the behavior of apply, parse, safeApply and unsafeApply methods, see sttp.model.

The safeApply methods return a validation error if the scheme contains illegal characters or if the host is empty.

Linear Supertypes
Serializable, Serializable, UriInterpolator, AnyRef, Any
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. case class Authority(userInfo: Option[UserInfo], hostSegment: Segment, port: Option[Int]) extends Product with Serializable

    Permalink
  2. type Encoding = (String) ⇒ String

    Permalink
  3. sealed trait QuerySegment extends AnyRef

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

    Permalink
  5. implicit class UriContext extends AnyRef

    Permalink
    Definition Classes
    UriInterpolator
  6. 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 Authority extends Serializable

    Permalink
  5. object FragmentEncoding

    Permalink
  6. object FragmentSegment

    Permalink
  7. object HostEncoding

    Permalink
  8. object HostSegment

    Permalink
  9. object PathSegment

    Permalink
  10. object PathSegmentEncoding

    Permalink
  11. object QuerySegment

    Permalink
  12. object QuerySegmentEncoding

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

    Permalink
  14. def apply(scheme: String, authority: Option[Authority], path: Seq[Segment], querySegments: Seq[QuerySegment], fragment: Option[Segment]): Uri

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

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

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

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

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

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

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

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

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

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

    Permalink
  25. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  30. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  31. final def isInstanceOf[T0]: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  35. def parse(uri: String): Either[String, Uri]

    Permalink
  36. def relative(path: Seq[String], querySegments: Seq[QuerySegment], fragment: Option[String]): Uri

    Permalink
  37. def relative(path: Seq[String], fragment: Option[String]): Uri

    Permalink
  38. def relative(path: Seq[String]): Uri

    Permalink
  39. def safeApply(scheme: String, authority: Option[Authority], pathSegments: Seq[Segment], querySegments: Seq[QuerySegment], fragmentSegment: Option[Segment]): Either[String, Uri]

    Permalink
  40. 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
  41. def safeApply(scheme: String, host: String, path: Seq[String], fragment: Option[String]): Either[String, Uri]

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  52. def unsafeApply(scheme: String, authority: Option[Authority], pathSegments: Seq[Segment], querySegments: Seq[QuerySegment], fragmentSegment: Option[Segment]): Uri

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

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

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

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

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

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

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

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

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

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

    Permalink
  63. def unsafeParse(uri: String): Uri

    Permalink
  64. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from UriInterpolator

Inherited from AnyRef

Inherited from Any

Ungrouped