Package

io.atomicbits.scraml

dsl

Permalink

package dsl

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait BodyPart extends AnyRef

    Permalink

    Created by peter on 1/07/15.

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

    Permalink

    name

    The name of the part.

    bytes

    The content of the part.

    contentType

    The optional content type.

    charset

    The optional character encoding (defaults to UTF-8).

    contentId

    The optional content id.

    transferEncoding

    The optional transfer encoding.

  3. trait Client extends AnyRef

    Permalink

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

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

    Permalink

    name

    The name of the part.

    file

    The file.

    fileName

    The optional name of the file, if no name is given the name in 'file' is used.

    contentType

    The optional content type.

    charset

    The optional character encoding (defaults to UTF-8).

    contentId

    The optional content id.

    transferEncoding

    The optional transfer encoding.

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

    Permalink

    Created by peter on 30/10/15.

  6. class HeaderSegment extends Segment

    Permalink
  7. sealed trait HttpParam extends AnyRef

    Permalink

    Created by peter on 27/07/15.

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

    Permalink
  9. sealed trait Method extends AnyRef

    Permalink

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

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

    Permalink
  11. class ParamSegment[T] extends Segment

    Permalink
  12. class PlainSegment extends Segment

    Permalink

    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

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

    Permalink

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

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

    Permalink

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

  16. sealed trait Segment extends AnyRef

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

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

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

    Permalink

    name

    The name of the part.

    value

    The content of the part.

    contentType

    The optional content type.

    charset

    The optional character encoding (defaults to UTF-8).

    contentId

    The optional content id.

    transferEncoding

    The optional transfer encoding.

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

    Permalink

Value Members

  1. object Connect extends Method with Product with Serializable

    Permalink
  2. object Delete extends Method with Product with Serializable

    Permalink
  3. object Get extends Method with Product with Serializable

    Permalink
  4. object Head extends Method with Product with Serializable

    Permalink
  5. object HttpParam

    Permalink
  6. object Opt extends Method with Product with Serializable

    Permalink
  7. object Patch extends Method with Product with Serializable

    Permalink
  8. object Post extends Method with Product with Serializable

    Permalink
  9. object Put extends Method with Product with Serializable

    Permalink
  10. object Trace extends Method with Product with Serializable

    Permalink
  11. package client

    Permalink
  12. package json

    Permalink

Ungrouped