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
ConstructorDescriptionBsonBinaryMapper
(SerdeRegistry registry, SerdeConfiguration serdeConfiguration) BsonBinaryMapper
(SerdeRegistry registry, SerdeConfiguration serdeConfiguration, Class<?> view) -
Method Summary
Modifier and TypeMethodDescriptionio.micronaut.json.JsonMapper
cloneWithViewClass
(Class<?> viewClass) protected org.bson.BsonReader
createBsonReader
(ByteBuffer byteBuffer) protected org.bson.AbstractBsonWriter
Methods inherited from class io.micronaut.serde.bson.AbstractBsonMapper
createReactiveParser, getSerdeRegistry, getStreamConfig, readValue, readValue, readValueFromTree, writeValue, writeValue, writeValueAsBytes, writeValueAsBytes, writeValueToTree, writeValueToTree
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.json.JsonMapper
createSpecific, detectFeatures, readValue, readValue, readValue, readValue, readValue, readValueFromTree, updateValueFromTree, writeValueAsString, writeValueAsString
Methods 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:
createBsonReader
in classAbstractBsonMapper
-
createBsonWriter
- Specified by:
createBsonWriter
in classAbstractBsonMapper
-