skinny

http

package http

Visibility
  1. Public
  2. All

Type Members

  1. case class FileInput(file: File, contentType: String) extends Product with Serializable

    Body from a file.

  2. case class FormData(name: String, bytes: Option[Array[Byte]] = None, textInput: TextInput = NoTextInput, fileInput: FileInput = NoFileInput) extends Product with Serializable

    Form data

    Form data

    name

    name

    bytes

    body as a byte array

    textInput

    body from a text value

    fileInput

    body from a file

  3. case class HTTPException(message: Option[String], response: Response) extends IOException with Product with Serializable

    Exception which represents errors when Request#enableThrowingIOException is true.

    Exception which represents errors when Request#enableThrowingIOException is true.

    message

    message

    response

    response

  4. case class Method(name: String) extends Product with Serializable

    HTTP/1.1 Method

  5. case class QueryParam(name: String, value: Any) extends Product with Serializable

    Query param.

  6. case class Request(url: String) extends Product with Serializable

    HTTP/1.1 Request.

  7. case class RequestBody(request: Request) extends Product with Serializable

    Request body.

  8. 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

    HTTP/1.1 Response.

  9. case class TextInput(textBody: String, charset: String = HTTP.DEFAULT_CHARSET) extends Product with Serializable

    Request body from a text value.

Value Members

  1. object FormData extends Serializable

  2. object HTTP extends Logging

    HTTP/1.1

  3. object Method extends Serializable

    Methods

  4. object NoFileInput extends FileInput

    No file input.

  5. object NoTextInput extends TextInput

    No text input

  6. object Request extends Serializable

    HTTP/1.1 Request.

Ungrouped