case class RequestBuilder(client: Client, reversePath: List[String] = Nil, method: Method = Get, queryParameters: Map[String, HttpParam] = Map.empty, formParameters: Map[String, HttpParam] = Map.empty, multipartParams: List[BodyPart] = List.empty, binaryBody: Option[BinaryRequest] = None, headers: HeaderMap = HeaderMap()) extends Product with Serializable
Created by peter on 21/05/15, Atomic BITS (http://atomicbits.io).
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RequestBuilder
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new RequestBuilder(client: Client, reversePath: List[String] = Nil, method: Method = Get, queryParameters: Map[String, HttpParam] = Map.empty, formParameters: Map[String, HttpParam] = Map.empty, multipartParams: List[BodyPart] = List.empty, binaryBody: Option[BinaryRequest] = None, headers: HeaderMap = HeaderMap())
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
- lazy val allHeaders: HeaderMap
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val binaryBody: Option[BinaryRequest]
- def callToBinaryResponse(body: Option[String]): Future[Response[BinaryData]]
- def callToJsonResponse(body: Option[String]): Future[Response[JsValue]]
- def callToStringResponse(body: Option[String]): Future[Response[String]]
- def callToTypeResponse[R](body: Option[String])(implicit responseFormat: Format[R]): Future[Response[R]]
- val client: Client
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def defaultHeaders: Map[String, String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val formParameters: Map[String, HttpParam]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- val headers: HeaderMap
- def isFormPost: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isMultipartFormUpload: Boolean
- val method: Method
- val multipartParams: List[BodyPart]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val queryParameters: Map[String, HttpParam]
- def relativePath: String
- val reversePath: List[String]
- def summary: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
- @throws( ... )
- def withAddedHeaders(additionalHeaders: (String, String)*): RequestBuilder
- def withAddedPathSegment(additionalPathSegment: Any): RequestBuilder
- def withSetHeaders(additionalHeaders: (String, String)*): RequestBuilder