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,ObjectMapper
Binary Bson mapper.
- Author:
- Denis Stepanov
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.serde.ObjectMapper
ObjectMapper.CloseableObjectMapper -
Field Summary
Fields inherited from class io.micronaut.serde.bson.AbstractBsonMapper
decoderContext, encoderContext, registry, serdeConfiguration, view -
Constructor Summary
ConstructorsConstructorDescriptionBsonBinaryMapper(SerdeRegistry registry, SerdeConfiguration serdeConfiguration) BsonBinaryMapper(SerdeRegistry registry, 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, getSerdeRegistry, 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
-
BsonBinaryMapper
public BsonBinaryMapper(SerdeRegistry registry, SerdeConfiguration serdeConfiguration, Class<?> view)
-
-
Method Details
-
cloneWithViewClass
-
createBsonReader
- Specified by:
createBsonReaderin classAbstractBsonMapper
-
createBsonWriter
- Specified by:
createBsonWriterin classAbstractBsonMapper
-