ResponseEncoder
smithy4s.http4s.kernel.ResponseEncoder$
object ResponseEncoder
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ResponseEncoder.type
Members list
Type members
Types
Value members
Concrete methods
def forError[F[_], E](errorTypeHeaders: List[String], maybeErrorable: Option[Errorable[E]], encoderCompiler: CachedSchemaCompiler[[_] =>> ResponseEncoder[F, _$4]]): ResponseEncoder[F, E]
def fromEntityEncoder[F[_] : Concurrent, A](implicit evidence$1: Concurrent[F], entityEncoder: EntityEncoder[F, A]): ResponseEncoder[F, A]
def fromEntityEncoderK[F[_] : Concurrent]: PolyFunction[[_] =>> EntityEncoder[F, _$18], [_] =>> ResponseEncoder[F, _$19]]
def restSchemaCompiler[F[_]](metadataEncoderCompiler: CachedSchemaCompiler[Encoder], entityEncoderCompiler: CachedSchemaCompiler[[_] =>> EntityEncoder[F, _$26]])(implicit F: Concurrent[F]): CachedSchemaCompiler[[_] =>> ResponseEncoder[F, _$27]]
A compiler for ResponseEncoder that abides by REST-semantics : fields that are annotated with httpHeader
and httpStatusCode
are encoded as the corresponding metadata.
A compiler for ResponseEncoder that abides by REST-semantics : fields that are annotated with httpHeader
and httpStatusCode
are encoded as the corresponding metadata.
The rest is used to formulate the body of the message.
Attributes
def rpcSchemaCompiler[F[_]](entityEncoderCompiler: CachedSchemaCompiler[[_] =>> EntityEncoder[F, _$23]])(implicit F: Concurrent[F]): CachedSchemaCompiler[[_] =>> ResponseEncoder[F, _$24]]
A compiler for ResponseEncoder that encodes the whole data in the body of the request
A compiler for ResponseEncoder that encodes the whole data in the body of the request
Attributes
In this article