class Writeable[-A] extends AnyRef

Transform a value of type A to a Byte Array.

A

the content type

Annotations
@implicitNotFound()
Source
Writeable.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Writeable
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Writeable(transform: (A) => ByteString, contentType: Option[String])

Value Members

  1. val contentType: Option[String]
  2. def map[B](f: (B) => A): Writeable[B]
  3. def toEntity(a: A): HttpEntity
  4. val transform: (A) => ByteString