io.atomicbits.scraml

dsl

package dsl

Visibility
  1. Public
  2. All

Type Members

  1. trait BinaryData extends AnyRef

    The BinaryData object is the Response result type when binary data is received from the server.

  2. class BinaryMethodSegment[B] extends MethodSegment[B, BinaryData]

  3. sealed trait BinaryRequest extends AnyRef

    The Binary Request object is an internal type of the DSL and is not directly visible for the user.

  4. sealed trait BodyPart extends AnyRef

    Created by peter on 1/07/15.

  5. case class ByteArrayBinaryRequest(byteArray: Array[Byte]) extends BinaryRequest with Product with Serializable

  6. case class ByteArrayPart(name: String, bytes: Array[Byte], contentType: Option[String] = scala.None, charset: Option[Charset] = ..., contentId: Option[String] = scala.None, transferEncoding: Option[String] = scala.None) extends BodyPart with Product with Serializable

  7. trait Client extends AutoCloseable

    Created by peter on 21/05/15, Atomic BITS (http://atomicbits.

  8. case class FileBinaryRequest(file: File) extends BinaryRequest with Product with Serializable

  9. case class FilePart(name: String, file: File, fileName: Option[String] = scala.None, contentType: Option[String] = scala.None, charset: Option[Charset] = ..., contentId: Option[String] = scala.None, transferEncoding: Option[String] = scala.None) extends BodyPart with Product with Serializable

  10. case class HeaderMap(headerList: Map[String, List[String]] = ..., originalKeys: Map[String, String] = ...) extends Product with Serializable

    Created by peter on 30/10/15.

  11. class HeaderSegment extends Segment

  12. sealed trait HttpParam extends AnyRef

    Created by peter on 27/07/15.

  13. case class InputStreamBinaryRequest(inputStream: InputStream) extends BinaryRequest with Product with Serializable

  14. class JsonMethodSegment[B] extends MethodSegment[B, JsValue]

  15. sealed trait Method extends AnyRef

    Created by peter on 21/05/15, Atomic BITS (http://atomicbits.

  16. abstract class MethodSegment[B, R] extends Segment

  17. class ParamSegment[T] extends Segment

  18. class PlainSegment extends Segment

    We DON'T use case classes here to hide the internals from the resulting DSL.

  19. case class RepeatedHttpParam(parameters: List[String]) extends HttpParam with Product with Serializable

  20. case class RequestBuilder(client: Client, reversePath: List[String] = immutable.this.Nil, method: Method = Get, queryParameters: Map[String, HttpParam] = ..., formParameters: Map[String, HttpParam] = ..., multipartParams: List[BodyPart] = immutable.this.List.empty[Nothing], binaryBody: Option[BinaryRequest] = scala.None, headers: HeaderMap = ...) extends Product with Serializable

    Created by peter on 21/05/15, Atomic BITS (http://atomicbits.

  21. case class Response[T](status: Int, stringBody: Option[String], jsonBody: Option[JsValue] = scala.None, body: Option[T] = scala.None, headers: Map[String, List[String]] = ...) extends Product with Serializable

    Created by peter on 21/05/15, Atomic BITS (http://atomicbits.

  22. sealed trait Segment extends AnyRef

  23. case class SingleHttpParam(parameter: String) extends HttpParam with Product with Serializable

  24. case class StringBinaryRequest(text: String) extends BinaryRequest with Product with Serializable

  25. class StringMethodSegment[B] extends MethodSegment[B, String]

  26. case class StringPart(name: String, value: String, contentType: Option[String] = scala.None, charset: Option[Charset] = ..., contentId: Option[String] = scala.None, transferEncoding: Option[String] = scala.None) extends BodyPart with Product with Serializable

  27. class TypeMethodSegment[B, R] extends MethodSegment[B, R]

Value Members

  1. object BinaryRequest

  2. object Connect extends Method with Product with Serializable

  3. object Delete extends Method with Product with Serializable

  4. object Get extends Method with Product with Serializable

  5. object Head extends Method with Product with Serializable

  6. object HttpParam

  7. object Opt extends Method with Product with Serializable

  8. object Patch extends Method with Product with Serializable

  9. object Post extends Method with Product with Serializable

  10. object Put extends Method with Product with Serializable

  11. object Trace extends Method with Product with Serializable

  12. package client

  13. package json

Ungrouped