package
dsl
Type Members
-
trait
BinaryData extends AnyRef
-
-
sealed
trait
BinaryRequest extends AnyRef
-
sealed
trait
BodyPart extends AnyRef
-
case class
ByteArrayBinaryRequest(byteArray: Array[Byte]) extends BinaryRequest with Product with Serializable
-
case class
ByteArrayPart(name: String, bytes: Array[Byte], contentType: Option[String] = None, charset: Option[Charset] = Some(Charset.forName("UTF8")), contentId: Option[String] = None, transferEncoding: Option[String] = None) extends BodyPart with Product with Serializable
-
trait
Client extends AutoCloseable
-
case class
FileBinaryRequest(file: File) extends BinaryRequest with Product with Serializable
-
case class
FilePart(name: String, file: File, fileName: Option[String] = None, contentType: Option[String] = None, charset: Option[Charset] = Some(Charset.forName("UTF8")), contentId: Option[String] = None, transferEncoding: Option[String] = None) extends BodyPart with Product with Serializable
-
case class
HeaderMap(headerList: Map[String, List[String]] = Map.empty, originalKeys: Map[String, String] = Map.empty) extends Product with Serializable
-
-
sealed
trait
HttpParam extends AnyRef
-
case class
InputStreamBinaryRequest(inputStream: InputStream) extends BinaryRequest with Product with Serializable
-
-
sealed
trait
Method extends AnyRef
-
-
-
-
case class
RepeatedHttpParam(parameters: List[String]) extends HttpParam with Product with Serializable
-
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
-
case class
Response[T](status: Int, stringBody: Option[String], jsonBody: Option[JsValue] = None, body: Option[T] = None, headers: Map[String, List[String]] = Map.empty) extends Product with Serializable
-
sealed
trait
Segment extends AnyRef
-
case class
SingleHttpParam(parameter: String) extends HttpParam with Product with Serializable
-
case class
StringBinaryRequest(text: String) extends BinaryRequest with Product with Serializable
-
-
case class
StringPart(name: String, value: String, contentType: Option[String] = None, charset: Option[Charset] = Some(Charset.forName("UTF8")), contentId: Option[String] = None, transferEncoding: Option[String] = None) extends BodyPart with Product with Serializable
-
Value Members
-
-
object
Connect extends Method with Product with Serializable
-
object
Delete extends Method with Product with Serializable
-
object
Get extends Method with Product with Serializable
-
object
Head extends Method with Product with Serializable
-
-
object
Opt extends Method with Product with Serializable
-
object
Patch extends Method with Product with Serializable
-
object
Post extends Method with Product with Serializable
-
object
Put extends Method with Product with Serializable
-
object
Trace extends Method with Product with Serializable
-
-
The name of the part.
The content of the part.
The optional content type.
The optional character encoding (defaults to UTF-8).
The optional content id.
The optional transfer encoding.