wvlet.airframe.codec
Members list
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AnyCodec
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object INVALID_DATAobject MISSING_PARAMETER
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CollectionCodec.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
A codec for Enum-like case objects that can be instantiated with unapply(String)
A codec for Enum-like case objects that can be instantiated with unapply(String)
Attributes
- Supertypes
-
trait MessageCodec[A]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
Generic representation of Throwable for RPC messaging and logging exception
Generic representation of Throwable for RPC messaging and logging exception
Attributes
- Companion
- object
- Supertypes
-
trait Producttrait Equalsclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
GenericException.type
Generic stacktrace representation
Generic stacktrace representation
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait CodecErrorCodeclass Objecttrait Matchableclass AnyShow all
- Self type
-
INVALID_DATA.type
Codec for JSON String
Codec for JSON String
Attributes
- Supertypes
-
trait MessageCodec[String]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
JSONCodec.type
Codec for JSONValue
Codec for JSONValue
Attributes
- Supertypes
-
trait MessageCodec[JSONValue]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
JSONValueCodec.type
Attributes
- Supertypes
-
trait MessageCodec[Instant]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
JavaInstantTimeCodec.type
Attributes
- Supertypes
-
trait MessageCodec[Date]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
JavaUtilDateCodec.type
For generating codec for recursive types.
For generating codec for recursive types.
For example, if type X has a recursion like X(name:String, child:Option[X]), LazyCodec will be used to generate a codec instance as MessageCodec[X](StringCodec, OptionCodec(LazyCodec[X])).
Attributes
- Supertypes
-
trait Producttrait Equalstrait MessageCodec[A]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait CodecErrorCodeclass Objecttrait Matchableclass AnyShow all
- Self type
-
MISSING_PARAMETER.type
Attributes
- Companion
- object
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class IndexedSeqCodec[A]class JavaListCodec[A]class ListCodec[A]class SeqCodec[A]class EnumCodec[A]object JSONCodecobject JSONValueCodecobject JavaInstantTimeCodecobject JavaUtilDateCodecclass LazyCodec[A]trait MessageValueCodec[A]object CountCodecobject DataSizeCodecobject ElapsedTimeCodecclass ObjectCodec[A]class ObjectMapCodec[A]class ParamListCodecobject PrefixedULIDCodecobject AnyArrayCodecclass AnyCodecobject BooleanArrayCodecobject ByteArrayCodecobject CharArrayCodecobject DoubleArrayCodecobject FloatArrayCodecobject IntArrayCodecobject LongArrayCodectrait PrimitiveCodec[A]object BigIntCodecobject BigIntegerCodecobject BooleanCodecobject ByteCodecobject CharCodecobject DoubleCodecobject FloatCodecobject IntCodecobject LongCodecobject ShortCodecobject StringCodecobject UnitCodecobject RawMsgPackCodecobject ShortArrayCodecobject StringArrayCodecobject ValueCodecobject RawJsonCodecclass OptionCodec[A]class TupleCodecobject ThrowableCodecobject ULIDCodecobject UUIDCodecclass UnionCodecShow all
Attributes
- Companion
- trait
- Supertypes
- Self type
-
MessageCodec.type
Attributes
- Supertypes
-
class Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- object
- Supertypes
-
trait Producttrait Equalstrait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializabletrait MessageCodecFactoryBaseclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
MessageCodecFactory.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object defaultMessageCodecFinderobject empty
Attributes
- Companion
- trait
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
MessageCodecFinder.type
MessageContext is used for passing the parsing configuration and the last value read by codec.
MessageContext is used for passing the parsing configuration and the last value read by codec.
For efficiency, it holds several primitive type values as local variables to avoid the boxing overhead.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait MessageCodec[A]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
Codecs for airframe-metrics
Codecs for airframe-metrics
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MetricsCodec.type
Attributes
- Supertypes
-
trait Producttrait Equalstrait PackAsMapSupport[A]trait ObjectCodecBasetrait MessageCodec[A]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ObjectCodec[A]class ObjectMapCodec[A]
ObjectCodec for generating map values. This is suited to JSON object generation
ObjectCodec for generating map values. This is suited to JSON object generation
Attributes
- Supertypes
-
trait Producttrait Equalstrait PackAsMapSupport[A]trait ObjectCodecBasetrait MessageCodec[A]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class ObjectCodec[A]class ObjectMapCodec[A]
- Self type
-
MessageCodec[A]
If a class is extending PackSupport, pack(Packer) method will be used for serializing (packing) this object.
If a class is extending PackSupport, pack(Packer) method will be used for serializing (packing) this object.
For deserializing (unpacking) data of type A, define a package method unapply(string:String): Option[A].
In future, we may support unapply(u:Unpacker): Option[A] method
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
A generic codec for parameter lists:
A generic codec for parameter lists:
- array form: [v1, v2, ...]
- map form: {k1:v1, k2:v2, ..}
Attributes
- Supertypes
-
trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait MessageCodec[PrefixedULID]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
PrefixedULIDCodec.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PrimitiveCodec.type
Attributes
- Supertypes
-
trait MessageCodec[Json]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
RawJsonCodec.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ScalaCompat.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ScalaStandardCodec.type
Standard codec collection
Standard codec collection
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
StandardCodec.type
Codec for Exception (Throwable) classes
Codec for Exception (Throwable) classes
Attributes
- Supertypes
-
trait MessageCodec[Throwable]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
ThrowableCodec.type
Attributes
- Supertypes
-
trait MessageCodec[ULID]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
ULIDCodec.type
Attributes
- Supertypes
-
trait MessageCodec[UUID]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
UUIDCodec.type
Codec for union classes (e.g., A or B) This codec is necessary for defining OpenAPI's model classes
Codec for union classes (e.g., A or B) This codec is necessary for defining OpenAPI's model classes
Attributes
- Supertypes
-
trait Producttrait Equalstrait MessageCodec[Union]trait LogSupporttrait LazyLoggertrait LoggingMethodstrait Serializableclass Objecttrait Matchableclass AnyShow all