trait RequestBuilderVerbs extends RequestVerbs
- Alphabetic
- By Inheritance
- RequestBuilderVerbs
- RequestVerbs
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
subject: Req
- Definition Classes
- RequestVerbs
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
-
def
addBodyPart(part: Part): Req
Add a new body part to the request.
-
def
addCookie(cookie: Cookie): Req
Add a new cookie to the request.
-
def
addHeader(name: String, value: String): Req
Add a new header to the request.
-
def
addOrReplaceCookie(cookie: Cookie): Req
Add ore replace a cookie
-
def
addParameter(key: String, value: String): Req
Add a new body parameter to the request.
-
def
addQueryParameter(name: String, value: String): Req
Add a new query parameter to the request.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
implyMethod(method: String): Req
Set method unless method has been explicitly set using setMethod.
-
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
setBody(file: File): Req
Set the request body to the contents of a File.
-
def
setBody(data: String): Req
Set the request body using a string.
-
def
setBody(dataWriter: BodyGenerator): Req
Set the request body using a BodyGenerator.
-
def
setBody(dataWriter: BodyGenerator, length: Long): Req
Set the request body using a BodyGenerator and length.
-
def
setBody(data: Array[Byte]): Req
Set the request body from a byte array.
-
def
setBodyEncoding(charset: Charset): Req
Set the body encoding to the specified charset.
-
def
setContentType(mediaType: String, charset: Charset): Req
Set the content type and charset for the request.
-
def
setFollowRedirects(followRedirects: Boolean): Req
Set the follow redirects setting
-
def
setHeader(name: String, value: String): Req
Set a header
-
def
setHeaders(headers: Map[String, Seq[String]]): Req
Set multiple headers
-
def
setMethod(method: String): Req
Explicitly set the method of the request.
-
def
setParameters(parameters: Map[String, Seq[String]]): Req
Set form parameters
-
def
setProxyServer(proxyServer: ProxyServer): Req
Set the proxy server for the request
-
def
setQueryParameters(params: Map[String, Seq[String]]): Req
Set query parameters, overwriting any pre-existing query parameters.
-
def
setRealm(realm: Realm): Req
Set auth realm
-
def
setUrl(url: String): Req
Set the url of the request.
-
def
setVirtualHost(virtualHost: String): Req
Set the virual hostname
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )