Entity

org.http4s.Entity
See theEntity companion trait
object Entity

Attributes

Companion
trait
Source
Entity.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Entity.type

Members list

Type members

Classlikes

case object Empty extends Entity[Pure]

Attributes

Source
Entity.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Entity[Pure]
class Object
trait Matchable
class Any
Show all
Self type
Empty.type
final case class Streamed[+F[_]](body: EntityBody[F], length: Option[Long]) extends Entity[F]

Attributes

Source
Entity.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Entity[F]
class Object
trait Matchable
class Any
Show all
final case class Strict(bytes: ByteVector) extends Entity[Pure]

Attributes

Source
Entity.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Entity[Pure]
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def empty[F[_]]: Entity[F]

Attributes

Source
Entity.scala
def stream[F[_]](body: Stream[F, Byte], length: Option[Long]): Entity[F]

Attributes

Source
Entity.scala

Attributes

Source
Entity.scala

Generates a Strict entity with the string encoded the given charset.

Generates a Strict entity with the string encoded the given charset.

Attributes

Source
Entity.scala

Generates a Strict entity with the string encoded the given charset.

Generates a Strict entity with the string encoded the given charset.

Attributes

Source
Entity.scala

Deprecated methods

def apply[F[_]](body: Stream[F, Byte], length: Option[Long]): Entity[F]

Attributes

Deprecated
true
Source
Entity.scala

Implicits

Implicits

implicit def http4sMonoidForEntity[F[_]]: Monoid[Entity[F]]

Attributes

Source
Entity.scala