Metadata

smithy4s.http.Metadata$
See theMetadata companion class
object Metadata

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Metadata.type

Members list

Type members

Classlikes

trait Access

Attributes

Supertypes
class Object
trait Matchable
class Any
object Decoder

Attributes

Companion
trait
Supertypes
class Impl[Decoder]
class Object
trait Matchable
class Any
Show all
Self type
Decoder.type
trait Decoder[A]

Reads metadata and produces a map that contains values extracted from it, labelled by field names.

Reads metadata and produces a map that contains values extracted from it, labelled by field names.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object Encoder

Attributes

Companion
trait
Supertypes
class Impl[Encoder]
class Object
trait Matchable
class Any
Show all
Self type
Encoder.type
trait Encoder[A]

Reads metadata and produces a map that contains values extracted from it, labelled by field names.

Reads metadata and produces a map that contains values extracted from it, labelled by field names.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def decode[A](metadata: Metadata)(implicit decoder: Decoder[A]): Either[MetadataError, A]

If possible, decode the data from fields that are bound to http metadata.

If possible, decode the data from fields that are bound to http metadata.

Attributes

def encode[A](a: A)(implicit encoder: Encoder[A]): Metadata
def fold[A](i: Iterable[A])(f: A => Metadata): Metadata

Concrete fields