package scalaplay
- Alphabetic
- Public
- All
Type Members
-
trait
BinaryData
extends AnyRef
The BinaryData object is the Response result type when binary data is received from the server.
- class BinaryMethodSegment [B] extends MethodSegment[B, BinaryData]
-
sealed
trait
BinaryRequest
extends AnyRef
The Binary Request object is an internal type of the DSL and is not directly visible for the user.
-
sealed
trait
BodyPart
extends AnyRef
Created by peter on 1/07/15.
- case class ByteArrayBinaryRequest (byteArray: Array[Byte]) extends BinaryRequest with Product with Serializable
-
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
- 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.
-
trait
Client
extends AutoCloseable
Created by peter on 21/05/15, Atomic BITS (http://atomicbits.io).
- case class ComplexHttpParam (json: String) extends HttpParam with Product with Serializable
- case class DateOnly (date: LocalDate) extends DateWrapper with Product with Serializable
- case class DateTimeOnly (dateTime: LocalDateTime) extends DateWrapper with Product with Serializable
-
case class
DateTimeRFC2616
(dateTime: OffsetDateTime) extends DateWrapper with Product with Serializable
RFC2616: https://www.ietf.org/rfc/rfc2616.txt HTTP date: rfc1123-date (| rfc850-date | asctime-date)
- case class DateTimeRFC3339 (dateTime: OffsetDateTime) extends DateWrapper with Product with Serializable
-
trait
DateWrapper
extends AnyRef
Created by peter on 7/10/17.
- case class FileBinaryRequest (file: File) extends BinaryRequest with Product with Serializable
-
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
- 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.
-
case class
HeaderMap
(headerList: Map[String, List[String]] = Map.empty, originalKeys: Map[String, String] = Map.empty) extends Product with Serializable
Created by peter on 30/10/15.
- class HeaderSegment extends Segment
-
sealed
trait
HttpParam
extends AnyRef
Created by peter on 27/07/15.
- case class InputStreamBinaryRequest (inputStream: InputStream) extends BinaryRequest with Product with Serializable
- class JsonMethodSegment [B] extends MethodSegment[B, JsValue]
-
sealed
trait
Method
extends AnyRef
Created by peter on 21/05/15, Atomic BITS (http://atomicbits.io).
- abstract class MethodSegment [B, R] extends Segment
- class ParamSegment [T] extends Segment
-
class
PlainSegment
extends Segment
We DON'T use case classes here to hide the internals from the resulting DSL.
- case class RepeatedHttpParam (parameters: List[String]) extends HttpParam with Product with Serializable
-
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
Created by peter on 21/05/15, Atomic BITS (http://atomicbits.io).
-
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
Created by peter on 21/05/15, Atomic BITS (http://atomicbits.io).
- sealed trait Segment extends AnyRef
- case class SimpleHttpParam (parameter: String) extends HttpParam with Product with Serializable
- case class StringBinaryRequest (text: String) extends BinaryRequest with Product with Serializable
- class StringMethodSegment [B] extends MethodSegment[B, String]
-
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
- 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.
- case class TimeOnly (time: LocalTime) extends DateWrapper with Product with Serializable
- class TypeMethodSegment [B, R] extends MethodSegment[B, R]
-
case class
TypedQueryParams
(params: Map[String, HttpParam] = Map.empty) extends Product with Serializable
Created by peter on 14/05/17.
Value Members
- object BinaryRequest
- object ComplexHttpParam extends Serializable
- object Connect extends Method with Product with Serializable
- object DateOnly extends Serializable
- object DateTimeOnly extends Serializable
- object DateTimeRFC2616 extends Serializable
- object DateTimeRFC3339 extends Serializable
- object Delete extends Method with Product with Serializable
- object Get extends Method with Product with Serializable
- object Head extends Method with Product with Serializable
- object HttpParam extends Product with Serializable
- object Opt extends Method with Product with Serializable
- object Patch extends Method with Product with Serializable
- object Post extends Method with Product with Serializable
- object Put extends Method with Product with Serializable
- object RepeatedHttpParam extends Serializable
- object SimpleHttpParam extends Serializable
- object TimeOnly extends Serializable
- object Trace extends Method with Product with Serializable
- object TypedQueryParams extends Serializable