Package io.micronaut.serde.bson.custom
Class CodecBsonDecoder<T>
java.lang.Object
io.micronaut.serde.bson.custom.AbstractBsonSerde<T>
io.micronaut.serde.bson.custom.CodecBsonDecoder<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
Deserializer<T>
,Serde<T>
,Serializer<T>
Serializer/deserializer implemented by
Codec
.-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.serde.Deserializer
Deserializer.DecoderContext
Nested classes/interfaces inherited from interface io.micronaut.serde.Serializer
Serializer.EncoderContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected T
doDeserialize
(BsonReaderDecoder decoder, Deserializer.DecoderContext decoderContext, io.micronaut.core.type.Argument<? super T> type) protected void
doSerialize
(BsonWriterEncoder encoder, Serializer.EncoderContext context, T value, io.micronaut.core.type.Argument<? extends T> type) Methods inherited from class io.micronaut.serde.bson.custom.AbstractBsonSerde
deserialize, serialize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.serde.Deserializer
allowNull, createSpecific, deserializeNullable, getDefaultValue
Methods inherited from interface io.micronaut.serde.Serializer
createSpecific, isAbsent, isEmpty
-
Constructor Details
-
CodecBsonDecoder
-
-
Method Details
-
doDeserialize
protected T doDeserialize(BsonReaderDecoder decoder, Deserializer.DecoderContext decoderContext, io.micronaut.core.type.Argument<? super T> type) - Specified by:
doDeserialize
in classAbstractBsonSerde<T>
-
doSerialize
protected void doSerialize(BsonWriterEncoder encoder, Serializer.EncoderContext context, T value, io.micronaut.core.type.Argument<? extends T> type) - Specified by:
doSerialize
in classAbstractBsonSerde<T>
-