EntityEncoder

org.http4s.EntityEncoder
See theEntityEncoder companion object
trait EntityEncoder[F[_], A]

Attributes

Companion
object
Source
EntityEncoder.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Abstract methods

Implicitly added by streamEncoder

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.

Attributes

Source
EntityEncoder.scala

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.

Attributes

Source
EntityEncoder.scala
def toEntity(a: A): Entity[F]
Implicitly added by streamEncoder

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

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

Attributes

Source
EntityEncoder.scala
def toEntity(a: A): Entity[F]

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

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

Attributes

Source
EntityEncoder.scala

Concrete methods

Implicitly added by streamEncoder

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

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

Attributes

Source
EntityEncoder.scala

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

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

Attributes

Source
EntityEncoder.scala
Implicitly added by streamEncoder

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

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

Attributes

Source
EntityEncoder.scala

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

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

Attributes

Source
EntityEncoder.scala
def contramap[B](f: B => A): EntityEncoder[F, B]
Implicitly added by streamEncoder

Make a new EntityEncoder using this type as a foundation

Make a new EntityEncoder using this type as a foundation

Attributes

Source
EntityEncoder.scala
def contramap[B](f: B => A): EntityEncoder[F, B]

Make a new EntityEncoder using this type as a foundation

Make a new EntityEncoder using this type as a foundation

Attributes

Source
EntityEncoder.scala
Implicitly added by streamEncoder

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

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

Attributes

Source
EntityEncoder.scala

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

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

Attributes

Source
EntityEncoder.scala