Package

io.atomicbits.scraml.dsl

scalaplay

Permalink

package scalaplay

Visibility
  1. Public
  2. All

Type Members

  1. trait BinaryData extends AnyRef

    Permalink

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

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

    Permalink
  3. sealed trait BinaryRequest extends AnyRef

    Permalink

    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

    Permalink

    Created by peter on 1/07/15.

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

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

  7. trait Client extends AutoCloseable

    Permalink

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

  8. case class ComplexHttpParam(json: String) extends HttpParam with Product with Serializable

    Permalink
  9. case class DateOnly(date: LocalDate) extends DateWrapper with Product with Serializable

    Permalink
  10. case class DateTimeOnly(dateTime: LocalDateTime) extends DateWrapper with Product with Serializable

    Permalink
  11. case class DateTimeRFC2616(dateTime: OffsetDateTime) extends DateWrapper with Product with Serializable

    Permalink

    RFC2616: https://www.ietf.org/rfc/rfc2616.txt HTTP date: rfc1123-date (| rfc850-date | asctime-date)

  12. case class DateTimeRFC3339(dateTime: OffsetDateTime) extends DateWrapper with Product with Serializable

    Permalink
  13. trait DateWrapper extends AnyRef

    Permalink

    Created by peter on 7/10/17.

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

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

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

  17. class HeaderSegment extends Segment

    Permalink
  18. sealed trait HttpParam extends AnyRef

    Permalink

    Created by peter on 27/07/15.

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

    Permalink
  20. class JsonMethodSegment[B] extends MethodSegment[B, JsValue]

    Permalink
  21. sealed trait Method extends AnyRef

    Permalink

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

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

    Permalink
  23. class ParamSegment[T] extends Segment

    Permalink
  24. class PlainSegment extends Segment

    Permalink

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

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

    Permalink
  26. 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, binaryBody: Option[BinaryRequest] = None, headers: HeaderMap = HeaderMap()) extends Product with Serializable

    Permalink

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

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

  28. case class RestException(message: String, status: Int) extends RuntimeException with Product with Serializable

    Permalink

    An exception that wraps the status code and error message of a response.

  29. sealed trait Segment extends AnyRef

    Permalink
  30. case class SimpleHttpParam(parameter: String) extends HttpParam with Product with Serializable

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

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

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

  34. case class TimeOnly(time: LocalTime) extends DateWrapper with Product with Serializable

    Permalink
  35. class TypeMethodSegment[B, R] extends MethodSegment[B, R]

    Permalink
  36. case class TypedQueryParams(params: Map[String, HttpParam] = Map.empty) extends Product with Serializable

    Permalink

    Created by peter on 14/05/17.

Value Members

  1. object BinaryRequest

    Permalink
  2. object ComplexHttpParam extends Serializable

    Permalink
  3. object Connect extends Method with Product with Serializable

    Permalink
  4. object DateOnly extends Serializable

    Permalink
  5. object DateTimeOnly extends Serializable

    Permalink
  6. object DateTimeRFC2616 extends Serializable

    Permalink
  7. object DateTimeRFC3339 extends Serializable

    Permalink
  8. object Delete extends Method with Product with Serializable

    Permalink
  9. object Get extends Method with Product with Serializable

    Permalink
  10. object Head extends Method with Product with Serializable

    Permalink
  11. object HttpParam extends Product with Serializable

    Permalink
  12. object Opt extends Method with Product with Serializable

    Permalink
  13. object Patch extends Method with Product with Serializable

    Permalink
  14. object Post extends Method with Product with Serializable

    Permalink
  15. object Put extends Method with Product with Serializable

    Permalink
  16. object RepeatedHttpParam extends Serializable

    Permalink
  17. object RestException extends Serializable

    Permalink
  18. object SimpleHttpParam extends Serializable

    Permalink
  19. object TimeOnly extends Serializable

    Permalink
  20. object Trace extends Method with Product with Serializable

    Permalink
  21. object TypedQueryParams extends Serializable

    Permalink
  22. package client

    Permalink
  23. package json

    Permalink

Ungrouped