Object/Trait

org.http4s

EntityEncoder

Related Docs: trait EntityEncoder | package http4s

Permalink

object EntityEncoder extends EntityEncoderInstances

Source
EntityEncoder.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EntityEncoder
  2. EntityEncoderInstances
  3. EntityEncoderInstances0
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Entity(body: EntityBody, length: Option[Long] = None) extends Product with Serializable

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Entity extends Serializable

    Permalink
  5. def apply[A](implicit ev: EntityEncoder[A]): EntityEncoder[A]

    Permalink

    summon an implicit EntityEncoder

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. implicit val byteArrayEncoder: EntityEncoder[Array[Byte]]

    Permalink
    Definition Classes
    EntityEncoderInstances
  8. implicit val byteBufferEncoder: EntityEncoder[ByteBuffer]

    Permalink
    Definition Classes
    EntityEncoderInstances
  9. implicit val byteVectorEncoder: EntityEncoder[ByteVector]

    Permalink
    Definition Classes
    EntityEncoderInstances
  10. implicit def charArrayEncoder(implicit charset: Charset = DefaultCharset): EntityEncoder[Array[Char]]

    Permalink
    Definition Classes
    EntityEncoderInstances
  11. implicit def charBufferEncoder(implicit charset: Charset = DefaultCharset): EntityEncoder[CharBuffer]

    Permalink
    Definition Classes
    EntityEncoderInstances
  12. def chunkedEncoder[A](f: (A) ⇒ Channel[Task, Int, ByteVector], chunkSize: Int = DefaultChunkSize): EntityEncoder[A]

    Permalink
    Definition Classes
    EntityEncoderInstances
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def emptyEncoder[A]: EntityEncoder[A]

    Permalink
    Definition Classes
    EntityEncoderInstances0
  15. def encodeBy[A](hs: Header*)(f: (A) ⇒ Task[Entity]): EntityEncoder[A]

    Permalink

    Create a new EntityEncoder

  16. def encodeBy[A](hs: Headers)(f: (A) ⇒ Task[Entity]): EntityEncoder[A]

    Permalink

    Create a new EntityEncoder

  17. implicit val entityEncoderContravariant: Contravariant[EntityEncoder]

    Permalink
    Definition Classes
    EntityEncoderInstances
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. implicit val fileEncoder: EntityEncoder[File]

    Permalink
    Definition Classes
    EntityEncoderInstances
  21. implicit val filePathEncoder: EntityEncoder[Path]

    Permalink
    Definition Classes
    EntityEncoderInstances
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. implicit def futureEncoder[A](implicit W: EntityEncoder[A], ec: ExecutionContext): EntityEncoder[Future[A]]

    Permalink
    Definition Classes
    EntityEncoderInstances0
  24. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. implicit def inputStreamEncoder[A <: InputStream]: EntityEncoder[A]

    Permalink
    Definition Classes
    EntityEncoderInstances
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. implicit val multipartEncoder: EntityEncoder[Multipart]

    Permalink
    Definition Classes
    EntityEncoderInstances
  29. implicit def naturalTransformationEncoder[F[_], A](implicit N: ~>[F, Task], W: EntityEncoder[A]): EntityEncoder[F[A]]

    Permalink
    Definition Classes
    EntityEncoderInstances0
  30. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. implicit def process0Encoder[A](implicit W: EntityEncoder[A]): EntityEncoder[Process0[A]]

    Permalink
    Definition Classes
    EntityEncoderInstances0
  34. implicit def readerEncoder[A <: Reader](implicit charset: Charset = DefaultCharset): EntityEncoder[A]

    Permalink
    Definition Classes
    EntityEncoderInstances
  35. implicit val serverSentEventEncoder: EntityEncoder[EventStream]

    Permalink
    Definition Classes
    EntityEncoderInstances
  36. def showEncoder[A](implicit charset: Charset = DefaultCharset, show: Show[A]): EntityEncoder[A]

    Permalink

    Encodes a value from its Show instance.

    Encodes a value from its Show instance. Too broad to be implicit, too useful to not exist.

    Definition Classes
    EntityEncoderInstances0
  37. def simple[A](hs: Header*)(toChunk: (A) ⇒ ByteVector): EntityEncoder[A]

    Permalink

    Create a new EntityEncoder

    Create a new EntityEncoder

    This constructor is a helper for types that can be serialized synchronously, for example a String.

  38. implicit def sourceEncoder[A](implicit W: EntityEncoder[A]): EntityEncoder[Process[Task, A]]

    Permalink

    A process encoder is intended for streaming, and does not calculate its bodies in advance.

    A process encoder is intended for streaming, and does not calculate its bodies in advance. As such, it does not calculate the Content-Length in advance. This is for use with chunked transfer encoding.

    Definition Classes
    EntityEncoderInstances0
  39. implicit def stringEncoder(implicit charset: Charset = DefaultCharset): EntityEncoder[String]

    Permalink
    Definition Classes
    EntityEncoderInstances
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  41. implicit def taskEncoder[A](implicit W: EntityEncoder[A]): EntityEncoder[Task[A]]

    Permalink
    Definition Classes
    EntityEncoderInstances
  42. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  43. implicit val unitEncoder: EntityEncoder[Unit]

    Permalink
    Definition Classes
    EntityEncoderInstances
  44. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from EntityEncoderInstances

Inherited from EntityEncoderInstances0

Inherited from AnyRef

Inherited from Any

Ungrouped