io.atomicbits.scraml.dsl

scalaplay

package scalaplay

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 ComplexHttpParam(json: String) extends HttpParam with Product with Serializable

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

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

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

    RFC2616: https://www.

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

  13. trait DateWrapper extends AnyRef

    Created by peter on 7/10/17.

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

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

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

    Created by peter on 30/10/15.

  17. class HeaderSegment extends Segment

  18. sealed trait HttpParam extends AnyRef

    Created by peter on 27/07/15.

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

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

  21. sealed trait Method extends AnyRef

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

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

  23. class ParamSegment[T] extends Segment

  24. class PlainSegment extends Segment

    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

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

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

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

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

  29. sealed trait Segment extends AnyRef

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

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

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

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

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

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

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

    Created by peter on 14/05/17.

Value Members

  1. object BinaryRequest

  2. object ComplexHttpParam extends Serializable

  3. object Connect extends Method with Product with Serializable

  4. object DateOnly extends Serializable

  5. object DateTimeOnly extends Serializable

  6. object DateTimeRFC2616 extends Serializable

  7. object DateTimeRFC3339 extends Serializable

  8. object Delete extends Method with Product with Serializable

  9. object Get extends Method with Product with Serializable

  10. object Head extends Method with Product with Serializable

  11. object HttpParam extends Product with Serializable

  12. object Opt extends Method with Product with Serializable

  13. object Patch extends Method with Product with Serializable

  14. object Post extends Method with Product with Serializable

  15. object Put extends Method with Product with Serializable

  16. object RepeatedHttpParam extends Serializable

  17. object RestException extends Serializable

  18. object SimpleHttpParam extends Serializable

  19. object TimeOnly extends Serializable

  20. object Trace extends Method with Product with Serializable

  21. object TypedQueryParams extends Serializable

  22. package client

  23. package json

Ungrouped