HttpDiscriminator

smithy4s.http.HttpDiscriminator$
See theHttpDiscriminator companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class FullId(shapeId: ShapeId) extends HttpDiscriminator

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class NameOnly(name: String) extends HttpDiscriminator

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class StatusCode(int: Int) extends HttpDiscriminator

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
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

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromMetadata(discriminatingHeaderNames: List[String], metadata: Metadata): Option[HttpDiscriminator]
def fromStatusOrHeader(discriminatingHeaderNames: List[String], statusCode: Int, headers: Map[CaseInsensitive, Seq[String]]): HttpDiscriminator