io.atomicbits.scraml

dsl

package dsl

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait BodyPart extends AnyRef

    Created by peter on 1/07/15.

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

  3. trait Client extends AnyRef

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

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

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

    Created by peter on 30/10/15.

  6. class HeaderSegment extends Segment

  7. sealed trait HttpParam extends AnyRef

    Created by peter on 27/07/15.

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

  9. sealed trait Method extends AnyRef

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

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

  11. class ParamSegment[T] extends Segment

  12. class PlainSegment extends Segment

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

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

  14. 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], headers: HeaderMap = ...) extends Product with Serializable

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

  15. case class Response[T](status: Int, stringBody: 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.

  16. sealed trait Segment extends AnyRef

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

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

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

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

Value Members

  1. object Connect extends Method with Product with Serializable

  2. object Delete extends Method with Product with Serializable

  3. object Get extends Method with Product with Serializable

  4. object Head extends Method with Product with Serializable

  5. object HttpParam

  6. object Opt extends Method with Product with Serializable

  7. object Patch extends Method with Product with Serializable

  8. object Post extends Method with Product with Serializable

  9. object Put extends Method with Product with Serializable

  10. object Trace extends Method with Product with Serializable

  11. package client

  12. package json

Ungrouped