SchemaVisitorHeaderMerge

smithy4s.http.internals.SchemaVisitorHeaderMerge
object SchemaVisitorHeaderMerge extends Default[AwsMergeableHeader]

A schema visitor that allows to merge several values into a single, comma-separated header value. The logic for quoting is meant to abide by AWS' convoluted standards.

See https://github.com/awslabs/smithy/pull/1798

Attributes

Graph
Supertypes
trait Default[AwsMergeableHeader]
trait SchemaVisitor[AwsMergeableHeader]
trait PolyFunction[Schema, AwsMergeableHeader]
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

override def biject[A, B](schema: Schema[A], bijection: Bijection[A, B]): AwsMergeableHeader[B]

Attributes

Definition Classes
def default[A]: AwsMergeableHeader[A]
override def enumeration[E](shapeId: ShapeId, hints: Hints, tag: EnumTag[E], values: List[EnumValue[E]], total: E => EnumValue[E]): AwsMergeableHeader[E]

Attributes

Definition Classes
override def primitive[P](shapeId: ShapeId, hints: Hints, tag: Primitive[P]): AwsMergeableHeader[P]

Attributes

Definition Classes
override def refine[A, B](schema: Schema[A], refinement: Refinement[A, B]): AwsMergeableHeader[B]

Attributes

Definition Classes

Inherited methods

final def andThen[H[_]](other: PolyFunction[AwsMergeableHeader, H]): PolyFunction[F, H]

Attributes

Inherited from:
PolyFunction
def apply[A](schema: Schema[A]): F[A]

Attributes

Inherited from:
SchemaVisitor
override def collection[C[_], A](shapeId: ShapeId, hints: Hints, tag: CollectionTag[C], member: Schema[A]): F[C[A]]

Attributes

Definition Classes
Inherited from:
Default
final def compose[H[_]](other: PolyFunction[H, Schema]): PolyFunction[H, G]

Attributes

Inherited from:
PolyFunction
override def lazily[A](suspend: Lazy[Schema[A]]): F[A]

Attributes

Definition Classes
Inherited from:
Default
override def map[K, V](shapeId: ShapeId, hints: Hints, key: Schema[K], value: Schema[V]): F[Map[K, V]]

Attributes

Definition Classes
Inherited from:
Default
final def narrow[F0 <: (Schema)]: PolyFunction[F0, G]

Attributes

Inherited from:
PolyFunction
override def option[A](schema: Schema[A]): F[Option[A]]

Attributes

Definition Classes
Inherited from:
Default
override def struct[S](shapeId: ShapeId, hints: Hints, fields: Vector[Field[S, _]], make: IndexedSeq[Any] => S): F[S]

Attributes

Definition Classes
Inherited from:
Default
override def union[U](shapeId: ShapeId, hints: Hints, alternatives: Vector[Alt[U, _]], dispatch: Dispatcher[U]): F[U]

Attributes

Definition Classes
Inherited from:
Default
final def widen[G0[a0]]: PolyFunction[F, G0]

Attributes

Inherited from:
PolyFunction