Packages

trait EntityEncoder[F[_], A] extends AnyRef

Self Type
EntityEncoder[F, A]
Annotations
@implicitNotFound( ... )
Source
EntityEncoder.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EntityEncoder
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def headers: Headers

    Headers that may be added to a Message

    Headers that may be added to a Message

    Examples of such headers would be Content-Type. NOTE: The Content-Length header will be generated from the resulting Entity and thus should not be added.

  2. abstract def toEntity(a: A): Entity[F]

    Convert the type A to an EntityEncoder.Entity in the effect type F

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from EntityEncoder[F, A] to any2stringadd[EntityEncoder[F, A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (EntityEncoder[F, A], B)
    Implicit
    This member is added by an implicit conversion from EntityEncoder[F, A] to ArrowAssoc[EntityEncoder[F, A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def charset: Option[Charset]

    Get the Charset of the body encoded by this EntityEncoder, if defined the headers

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def contentType: Option[Content-Type]

    Get the org.http4s.headers.Content-Type of the body encoded by this EntityEncoder, if defined the headers

  10. def contramap[B](f: (B) ⇒ A): EntityEncoder[F, B]

    Make a new EntityEncoder using this type as a foundation

  11. def ensuring(cond: (EntityEncoder[F, A]) ⇒ Boolean, msg: ⇒ Any): EntityEncoder[F, A]
    Implicit
    This member is added by an implicit conversion from EntityEncoder[F, A] to Ensuring[EntityEncoder[F, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (EntityEncoder[F, A]) ⇒ Boolean): EntityEncoder[F, A]
    Implicit
    This member is added by an implicit conversion from EntityEncoder[F, A] to Ensuring[EntityEncoder[F, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): EntityEncoder[F, A]
    Implicit
    This member is added by an implicit conversion from EntityEncoder[F, A] to Ensuring[EntityEncoder[F, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): EntityEncoder[F, A]
    Implicit
    This member is added by an implicit conversion from EntityEncoder[F, A] to Ensuring[EntityEncoder[F, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from EntityEncoder[F, A] to StringFormat[EntityEncoder[F, A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  30. def withContentType(tpe: Content-Type): EntityEncoder[F, A]

    Generate a new EntityEncoder that will contain the Content-Type header

  31. def [B](y: B): (EntityEncoder[F, A], B)
    Implicit
    This member is added by an implicit conversion from EntityEncoder[F, A] to ArrowAssoc[EntityEncoder[F, A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from EntityEncoder[F, A] to any2stringadd[EntityEncoder[F, A]]

Inherited by implicit conversion StringFormat from EntityEncoder[F, A] to StringFormat[EntityEncoder[F, A]]

Inherited by implicit conversion Ensuring from EntityEncoder[F, A] to Ensuring[EntityEncoder[F, A]]

Inherited by implicit conversion ArrowAssoc from EntityEncoder[F, A] to ArrowAssoc[EntityEncoder[F, A]]

Ungrouped