class RequestBuilder[HasUrl, HasForm] extends AnyRef
- Alphabetic
- By Inheritance
- RequestBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type This = RequestBuilder[HasUrl, HasForm]
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def add(elems: Seq[FormElement]): RequestBuilder[HasUrl, Valid]
- def add(elem: FormElement): RequestBuilder[HasUrl, Valid]
- def addFormElement(kv: (String, String)*): RequestBuilder[HasUrl, Valid]
- def addHeader(name: String, value: String): This
Add a new header with the specified name and value.
- def addHeaders(headers: Map[String, String]): This
Add group of headers expressed as a Map
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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.
- def buildDelete()(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request
Construct an HTTP DELETE request.
- def buildFormPost(multipart: Boolean = false)(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: PostRequestEvidence[HasUrl, HasForm]): Request
Construct a form post request.
- def buildGet()(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request
Construct an HTTP GET request.
- def buildHead()(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request
Construct an HTTP HEAD request.
- def buildPost(content: Buf)(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request
Construct an HTTP POST request.
- def buildPut(content: Buf)(implicit HTTP_REQUEST_BUILDER_IS_NOT_FULLY_SPECIFIED: RequestEvidence[HasUrl, HasForm]): Request
Construct an HTTP PUT request.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def http10(): This
Declare the HTTP protocol version be HTTP/1.0
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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}}.
- 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}}.
- 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.
- 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.
- def setHeader(name: String, values: Seq[String]): This
Set a new header with the specified name and values.
- def setHeader(name: String, value: String): This
Set a new header with the specified name and value.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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.
- def url(u: String): RequestBuilder[Valid, HasForm]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()