smithy4s.http.HttpDiscriminator
See theHttpDiscriminator companion trait
object HttpDiscriminator
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
HttpDiscriminator.type
Members list
Type members
Classlikes
final case class FullId(shapeId: ShapeId) extends HttpDiscriminator
Attributes
- Supertypes
-
trait HttpDiscriminatortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class NameOnly(name: String) extends HttpDiscriminator
Attributes
- Supertypes
-
trait HttpDiscriminatortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
final case class StatusCode(int: Int) extends HttpDiscriminator
Attributes
- Supertypes
-
trait HttpDiscriminatortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case object Undetermined extends HttpDiscriminator
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait HttpDiscriminatortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
Undetermined.type
Inherited types
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 fromResponse(discriminatingHeaderNames: List[String], response: HttpResponse[Any]): HttpDiscriminator
def fromStatusOrHeader(discriminatingHeaderNames: List[String], statusCode: Int, headers: Map[CaseInsensitive, Seq[String]]): HttpDiscriminator
In this article