Packages

t

org.http4s

EntityDecoderInstances

trait EntityDecoderInstances extends AnyRef

Implementations of the EntityDecoder instances

Source
EntityDecoder.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EntityDecoderInstances
  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

Value Members

  1. def binFile[F[_]](file: File, blockingExecutionContext: ExecutionContext)(implicit F: Sync[F], cs: ContextShift[F]): EntityDecoder[F, File]
  2. implicit def binary[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Chunk[Byte]]
  3. implicit def byteArrayDecoder[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Array[Byte]]
  4. implicit def charArrayDecoder[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Array[Char]]
  5. def error[F[_], T](t: Throwable)(implicit F: Sync[F]): EntityDecoder[F, T]

    Provides a mechanism to fail decoding

  6. implicit def multipart[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Multipart[F]]
  7. implicit def text[F[_]](implicit arg0: Sync[F], defaultCharset: Charset = DefaultCharset): EntityDecoder[F, String]
  8. def textFile[F[_]](file: File, blockingExecutionContext: ExecutionContext)(implicit F: Sync[F], cs: ContextShift[F]): EntityDecoder[F, File]
  9. implicit def void[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Unit]

    An entity decoder that ignores the content and returns unit.

Deprecated Value Members

  1. def binaryChunk[F[_]](implicit arg0: Sync[F]): EntityDecoder[F, Chunk[Byte]]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.19.0-M2) Use binary instead