Packages

class RequestBuilder[HasUrl, HasForm] extends AnyRef

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

Type Members

  1. type This = RequestBuilder[HasUrl, HasForm]

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 add(elems: Seq[FormElement]): RequestBuilder[HasUrl, Valid]
  5. def add(elem: FormElement): RequestBuilder[HasUrl, Valid]
  6. def addFormElement(kv: (String, String)*): RequestBuilder[HasUrl, Valid]
  7. def addHeader(name: String, value: String): This

    Add a new header with the specified name and value.

  8. def addHeaders(headers: Map[String, String]): This

    Add group of headers expressed as a Map

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def build(method: Method, content: Option[Buf])(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request

    Construct an HTTP request with a specified method.

  11. def buildDelete()(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request

    Construct an HTTP DELETE request.

  12. def buildFormPost(multipart: Boolean = false)(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: PostRequestEvidence[HasUrl, HasForm]): Request

    Construct a form post request.

  13. def buildGet()(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request

    Construct an HTTP GET request.

  14. def buildHead()(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request

    Construct an HTTP HEAD request.

  15. def buildPost(content: Buf)(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request

    Construct an HTTP POST request.

  16. def buildPut(content: Buf)(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request

    Construct an HTTP PUT request.

  17. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def http10(): This

    Declare the HTTP protocol version be HTTP/1.0

  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def proxied(credentials: Option[ProxyCredentials]): This

    Declare the request will be proxied.

    Declare the request will be proxied. Results in using the absolute URI in the request line and optionally setting the Proxy-Authorization header using the provided {{ProxyCredentials}}.

  29. def proxied(credentials: ProxyCredentials): This

    Declare the request will be proxied.

    Declare the request will be proxied. Results in using the absolute URI in the request line and setting the Proxy-Authorization header using the provided {{ProxyCredentials}}.

  30. def proxied(): This

    Declare the request will be proxied.

    Declare the request will be proxied. Results in using the absolute URI in the request line.

  31. def setHeader(name: String, values: Iterable[String]): This

    Set a new header with the specified name and values.

    Set a new header with the specified name and values.

    Java convenience variant.

  32. def setHeader(name: String, values: Seq[String]): This

    Set a new header with the specified name and values.

  33. def setHeader(name: String, value: String): This

    Set a new header with the specified name and value.

  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. def url(u: URL): RequestBuilder[Valid, HasForm]

    Specify the url to request.

    Specify the url to request. Sets the HOST header and possibly the Authorization header using the authority portion of the URL.

  37. def url(u: String): RequestBuilder[Valid, HasForm]
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped