package
http
Type Members
-
case class
FileInput(file: File, contentType: String) extends Product with Serializable
-
case class
FormData(name: String, bytes: Option[Array[Byte]] = None, textInput: TextInput = NoTextInput, fileInput: FileInput = NoFileInput) extends Product with Serializable
-
case class
HTTPException(message: Option[String], response: Response) extends IOException with Product with Serializable
-
case class
Method(name: String) extends Product with Serializable
-
case class
QueryParam(name: String, value: Any) extends Product with Serializable
-
case class
Request(url: String) extends Product with Serializable
-
case class
RequestBody(request: Request) extends Product with Serializable
-
case class
Response(status: Int, headers: Map[String, String] = Map(), headerFields: Map[String, Seq[String]] = Map(), rawCookies: Map[String, String] = Map(), charset: Option[String] = None, body: Array[Byte] = Array()) extends Product with Serializable
-
case class
TextInput(textBody: String, charset: String = HTTP.DEFAULT_CHARSET) extends Product with Serializable
Value Members
-
object
FormData extends Serializable
-
object
HTTP extends Logging
-
object
Method extends Serializable
-
-
-
object
Request extends Serializable
Form data
name
body as a byte array
body from a text value
body from a file