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
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def digestAuth(username: Expression[String], password: Expression[String]): B
- def disableUrlEncoding: B
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
header(name: String, 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[String, 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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def multivaluedQueryParam(key: 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(key: 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: Expression[SignatureCalculator]): 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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )