abstract class RequestBuilder[B <: RequestBuilder[B]] extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- RequestBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new RequestBuilder()
Abstract Value Members
- abstract def commonAttributes: CommonAttributes
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asJson: B
Adds Accept and Content-Type headers to the request set with "application/json" values
- def asXml: B
Adds Accept and Content-Type headers to the request set with "application/xml" values
- def basicAuth(username: Expression[String], password: Expression[String]): B
Adds BASIC authentication to the request
Adds BASIC authentication to the request
- username
the username needed
- password
the password needed
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def digestAuth(username: Expression[String], password: Expression[String]): B
- def disableUrlEncoding: B
- 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 header(name: CharSequence, value: Expression[String]): B
Adds a header to the request
Adds a header to the request
- name
the name of the header
- value
the value of the header
- def headers(newHeaders: Map[_ <: CharSequence, String]): B
Adds several headers to the request at the same time
Adds several headers to the request at the same time
- newHeaders
a scala map containing the headers to add
- def ignoreProtocolHeaders: B
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def multivaluedQueryParam(name: Expression[String], values: Expression[Seq[Any]]): B
- 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 proxy(httpProxy: Proxy): B
- def queryParam(name: Expression[String], value: Expression[Any]): B
- def queryParamMap(map: Expression[Map[String, Any]]): B
- def queryParamMap(map: Map[String, Any]): B
- def queryParamSeq(seq: Expression[Seq[(String, Any)]]): B
- def queryParamSeq(seq: Seq[(String, Any)]): B
- def sign(calculator: (Request, Session) => Validation[_]): B
- def signWithOAuth1(consumerKey: Expression[String], clientSharedSecret: Expression[String], token: Expression[String], tokenSecret: Expression[String]): B
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def virtualHost(virtualHost: Expression[String]): B
- virtualHost
a virtual host to override default compute one
- 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()
Deprecated Value Members
- def ignoreDefaultHeaders: B
- Annotations
- @deprecated
- Deprecated
(Since version 3.4.0) Please use ignoreProtocolHeaders instead. Will be removed in 3.5.0