case class Req(run: (RequestBuilder) ⇒ RequestBuilder, props: Properties = Req.Properties()) extends MethodVerbs with UrlVerbs with ParamVerbs with AuthVerbs with HeaderVerbs with RequestBuilderVerbs with Product with Serializable

This wrapper provides referential transparency for the underlying RequestBuilder.

Linear Supertypes
Serializable, Serializable, Product, Equals, RequestBuilderVerbs, HeaderVerbs, AuthVerbs, ParamVerbs, UrlVerbs, MethodVerbs, RequestVerbs, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Req
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. RequestBuilderVerbs
  7. HeaderVerbs
  8. AuthVerbs
  9. ParamVerbs
  10. UrlVerbs
  11. MethodVerbs
  12. RequestVerbs
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Req(run: (RequestBuilder) ⇒ RequestBuilder, props: Properties = Req.Properties())

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def /(segment: AnyVal): Req
    Definition Classes
    UrlVerbs
  4. def /(segment: String): Req
    Definition Classes
    UrlVerbs
  5. def /?(segmentOpt: Option[String]): Req
    Definition Classes
    UrlVerbs
  6. def <:<(hs: Traversable[(String, String)]): Req
    Definition Classes
    HeaderVerbs
  7. def <<(body: String): Req

    Set request body to a given string,

    Set request body to a given string,

    • set method to POST if currently GET,
    • set HTTP Content-Type to "text/plain; charset=UTF-8" if unspecified.
    Definition Classes
    ParamVerbs
  8. def <<(params: Traversable[(String, String)]): Req

    Adds params to the request body.

    Adds params to the request body. Sets request method to POST if it is currently GET.

    Definition Classes
    ParamVerbs
  9. def <<<(file: File): Req

    Set a file as the request body and set method to PUT if it's currently GET.

    Set a file as the request body and set method to PUT if it's currently GET.

    Definition Classes
    ParamVerbs
  10. def <<?(params: Traversable[(String, String)]): Req

    Adds params as query parameters

    Adds params as query parameters

    Definition Classes
    ParamVerbs
  11. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def DELETE: Req
    Definition Classes
    MethodVerbs
  13. def GET: Req
    Definition Classes
    MethodVerbs
  14. def HEAD: Req
    Definition Classes
    MethodVerbs
  15. def OPTIONS: Req
    Definition Classes
    MethodVerbs
  16. def PATCH: Req
    Definition Classes
    MethodVerbs
  17. def POST: Req
    Definition Classes
    MethodVerbs
  18. def PUT: Req
    Definition Classes
    MethodVerbs
  19. def TRACE: Req
    Definition Classes
    MethodVerbs
  20. def addBodyPart(part: Part): Req
    Definition Classes
    RequestBuilderVerbs
  21. def addCookie(cookie: Cookie): Req
    Definition Classes
    RequestBuilderVerbs
  22. def addHeader(name: String, value: String): Req
    Definition Classes
    RequestBuilderVerbs
  23. def addOrReplaceCookie(cookie: Cookie): Req
    Definition Classes
    RequestBuilderVerbs
  24. def addParameter(key: String, value: String): Req
    Definition Classes
    RequestBuilderVerbs
  25. def addQueryParameter(name: String, value: String): Req
    Definition Classes
    RequestBuilderVerbs
  26. def as(realm: Realm): Req
    Definition Classes
    AuthVerbs
  27. def as(user: String, password: String): Req
    Definition Classes
    AuthVerbs
  28. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  29. def as_!(user: String, password: String): Req

    Basic auth, use with care.

    Basic auth, use with care.

    Definition Classes
    AuthVerbs
  30. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  33. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  38. val props: Properties
  39. val run: (RequestBuilder) ⇒ RequestBuilder
  40. def secure: Req
    Definition Classes
    UrlVerbs
  41. def setBody(file: File): Req
    Definition Classes
    RequestBuilderVerbs
  42. def setBody(data: String): Req
    Definition Classes
    RequestBuilderVerbs
  43. def setBody(dataWriter: BodyGenerator): Req
    Definition Classes
    RequestBuilderVerbs
  44. def setBody(dataWriter: BodyGenerator, length: Long): Req
    Definition Classes
    RequestBuilderVerbs
  45. def setBody(data: Array[Byte]): Req
    Definition Classes
    RequestBuilderVerbs
  46. def setBodyEncoding(charset: Charset): Req
    Definition Classes
    RequestBuilderVerbs
  47. def setContentType(mediaType: String, charset: Charset): Req
    Definition Classes
    RequestBuilderVerbs
  48. def setFollowRedirects(followRedirects: Boolean): Req
    Definition Classes
    RequestBuilderVerbs
  49. def setHeader(name: String, value: String): Req
    Definition Classes
    RequestBuilderVerbs
  50. def setHeaders(headers: Map[String, Seq[String]]): Req
    Definition Classes
    RequestBuilderVerbs
  51. def setMethod(method: String): Req
    Definition Classes
    RequestBuilderVerbs
  52. def setParameters(parameters: Map[String, Seq[String]]): Req
    Definition Classes
    RequestBuilderVerbs
  53. def setProxyServer(proxyServer: ProxyServer): Req
    Definition Classes
    RequestBuilderVerbs
  54. def setQueryParameters(params: Map[String, Seq[String]]): Req
    Definition Classes
    RequestBuilderVerbs
  55. def setRealm(realm: Realm): Req
    Definition Classes
    RequestBuilderVerbs
  56. def setUrl(url: String): Req
    Definition Classes
    RequestBuilderVerbs
  57. def setVirtualHost(virtualHost: String): Req
    Definition Classes
    RequestBuilderVerbs
  58. def subject: Req
    Definition Classes
    ReqRequestVerbs
  59. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  60. def toRequest: Request
  61. def toRequestBuilder: RequestBuilder
  62. def underlying(nextReq: (RequestBuilder) ⇒ RequestBuilder, nextProps: (Properties) ⇒ Properties): Req
  63. def underlying(next: (RequestBuilder) ⇒ RequestBuilder): Req
  64. def url: String
    Definition Classes
    UrlVerbs
  65. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def build(): Request
    Definition Classes
    RequestBuilderVerbs
    Annotations
    @deprecated
    Deprecated

    (Since version 0.11.0) Use toRequest

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RequestBuilderVerbs

Inherited from HeaderVerbs

Inherited from AuthVerbs

Inherited from ParamVerbs

Inherited from UrlVerbs

Inherited from MethodVerbs

Inherited from RequestVerbs

Inherited from AnyRef

Inherited from Any

Ungrouped