Package io.micronaut.serde.bson
Class BsonBinaryMapper
java.lang.Object
io.micronaut.serde.bson.AbstractBsonMapper
io.micronaut.serde.bson.BsonBinaryMapper
- All Implemented Interfaces:
io.micronaut.json.JsonMapper,io.micronaut.serde.ObjectMapper
Binary Bson mapper.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.serde.ObjectMapper
io.micronaut.serde.ObjectMapper.CloseableObjectMapper -
Field Summary
Fields inherited from class io.micronaut.serde.bson.AbstractBsonMapper
decoderContext, encoderContext, registry, serdeConfiguration, view -
Constructor Summary
ConstructorsConstructorDescriptionBsonBinaryMapper(io.micronaut.serde.SerdeRegistry registry, io.micronaut.serde.config.SerdeConfiguration serdeConfiguration) BsonBinaryMapper(io.micronaut.serde.SerdeRegistry registry, io.micronaut.serde.config.SerdeConfiguration serdeConfiguration, Class<?> view) -
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.json.JsonMappercloneWithViewClass(Class<?> viewClass) protected org.bson.BsonReadercreateBsonReader(ByteBuffer byteBuffer) protected org.bson.AbstractBsonWriterMethods inherited from class io.micronaut.serde.bson.AbstractBsonMapper
createReactiveParser, getStreamConfig, readValue, readValue, readValueFromTree, writeValue, writeValue, writeValueAsBytes, writeValueAsBytes, writeValueToTree, writeValueToTreeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.json.JsonMapper
createSpecific, detectFeatures, readValue, readValue, readValue, readValue, readValue, readValueFromTree, updateValueFromTree, writeValueAsString, writeValueAsStringMethods inherited from interface io.micronaut.serde.ObjectMapper
cloneWithConfiguration, cloneWithFeatures, writeValueAsString
-
Constructor Details
-
BsonBinaryMapper
@Inject public BsonBinaryMapper(io.micronaut.serde.SerdeRegistry registry, io.micronaut.serde.config.SerdeConfiguration serdeConfiguration) -
BsonBinaryMapper
public BsonBinaryMapper(io.micronaut.serde.SerdeRegistry registry, io.micronaut.serde.config.SerdeConfiguration serdeConfiguration, Class<?> view)
-
-
Method Details
-
cloneWithViewClass
-
createBsonReader
- Specified by:
createBsonReaderin classAbstractBsonMapper
-
createBsonWriter
- Specified by:
createBsonWriterin classAbstractBsonMapper
-