UnionCodec
wvlet.airframe.codec.UnionCodec
case class UnionCodec(codecs: Map[Surface, MessageCodec[_]]) extends MessageCodec[Union]
Codec for union classes (e.g., A or B) This codec is necessary for defining OpenAPI's model classes
Attributes
- Graph
-
- Supertypes
-
trait Producttrait Equalstrait MessageCodec[Union]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- MessageCodec
Attributes
- Inherited from:
- MessageCodec
Attributes
- Inherited from:
- MessageCodec
Attributes
- Inherited from:
- MessageCodec
A shortcut for fromMsgPack(StringCodec.toMsgPack(s))
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Converting the object into MessagePack (= Array[Byte])
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- MessageCodec
Attributes
- Inherited from:
- MessageCodec
Attributes
- Inherited from:
- MessageCodec
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
Converting the input MessagePack into an object. If the conversion fails, throw an IllegalArgumentException
Converting the input MessagePack into an object. If the conversion fails, throw an IllegalArgumentException
Attributes
- Inherited from:
- MessageCodec
Attributes
- Inherited from:
- MessageCodec
Attributes
- Inherited from:
- MessageCodec
Attributes
- Inherited from:
- MessageCodec
Attributes
- Inherited from:
- MessageCodec
Attributes
- Inherited from:
- MessageCodec
Attributes
- Inherited from:
- LoggingMethods
Attributes
- Inherited from:
- LoggingMethods
In this article