httpz

Request

final case class Request(url: String, method: String = "GET", body: Option[Array[Byte]] = None, params: Map[String, String] = Map.empty, headers: Map[String, String] = Map.empty, basicAuth: Option[(String, String)] = None) extends Product with Serializable

Source
Request.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Request
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Request(url: String, method: String = "GET", body: Option[Array[Byte]] = None, params: Map[String, String] = Map.empty, headers: Map[String, String] = Map.empty, basicAuth: Option[(String, String)] = None)

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def addHeader(k: String, v: String): Request

  5. def addHeaders(p: (String, String)*): Request

  6. def addParam(k: String, v: String): Request

  7. def addParamOpt(k: String, v: Option[String]): Request

  8. def addParams(p: (String, String)*): Request

  9. def addParamsOpt(p: (String, Option[String])*): Request

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def auth(user: String, pass: String): Request

    Basic authentication

  12. val basicAuth: Option[(String, String)]

  13. def bearer(token: String): Request

  14. val body: Option[Array[Byte]]

  15. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  17. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  19. val headers: Map[String, String]

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. val method: String

  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. val params: Map[String, String]

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

    Definition Classes
    AnyRef
  27. val url: String

  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped