class JacksonObjectMapperFactory extends AnyRef
Used with JacksonObjectMapperProviderSetup for defining a JacksonObjectMapperProvider
that can be
passed in when ActorSystem is created rather than creating one from configured class name.
Create a subclass and override the methods to amend the defaults.
- Alphabetic
- By Inheritance
- JacksonObjectMapperFactory
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new JacksonObjectMapperFactory()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory to any2stringadd[JacksonObjectMapperFactory] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (JacksonObjectMapperFactory, B)
- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory to ArrowAssoc[JacksonObjectMapperFactory] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
ensuring(cond: (JacksonObjectMapperFactory) ⇒ Boolean, msg: ⇒ Any): JacksonObjectMapperFactory
- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory to Ensuring[JacksonObjectMapperFactory] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (JacksonObjectMapperFactory) ⇒ Boolean): JacksonObjectMapperFactory
- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory to Ensuring[JacksonObjectMapperFactory] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): JacksonObjectMapperFactory
- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory to Ensuring[JacksonObjectMapperFactory] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): JacksonObjectMapperFactory
- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory to Ensuring[JacksonObjectMapperFactory] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory to StringFormat[JacksonObjectMapperFactory] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newObjectMapper(bindingName: String, jsonFactory: JsonFactory): ObjectMapper
Override this method to create a new custom instance of
ObjectMapper
for the givenserializerIdentifier
.Override this method to create a new custom instance of
ObjectMapper
for the givenserializerIdentifier
.- bindingName
name of this
ObjectMapper
- jsonFactory
optional
JsonFactory
such asCBORFactory
, for plain JSONNone
(defaults) can be used
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
overrideConfiguredDeserializationFeatures(bindingName: String, configuredFeatures: Seq[(DeserializationFeature, Boolean)]): Seq[(DeserializationFeature, Boolean)]
After construction of the
ObjectMapper
the configured deserialization features are applied to the mapper.After construction of the
ObjectMapper
the configured deserialization features are applied to the mapper. These features can be amended programatically by overriding this method and return the features that are to be applied to theObjectMapper
.When implementing a
JacksonObjectMapperFactory
with Java theimmutable.Seq
can be created with akka.japi.Util.immutableSeq.- bindingName
bindingName name of this
ObjectMapper
- configuredFeatures
the list of
DeserializationFeature
that were configured inakka.serialization.jackson.deserialization-features
-
def
overrideConfiguredJsonGeneratorFeatures(bindingName: String, configuredFeatures: Seq[(Feature, Boolean)]): Seq[(Feature, Boolean)]
After construction of the
ObjectMapper
the configured JSON generator features are applied to the mapper.After construction of the
ObjectMapper
the configured JSON generator features are applied to the mapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to theObjectMapper
.- bindingName
bindingName name of this
ObjectMapper
- configuredFeatures
the list of
JsonGenerator.Feature
that were configured inakka.serialization.jackson.json-generator-features
-
def
overrideConfiguredJsonParserFeatures(bindingName: String, configuredFeatures: Seq[(Feature, Boolean)]): Seq[(Feature, Boolean)]
After construction of the
ObjectMapper
the configured JSON parser features are applied to the mapper.After construction of the
ObjectMapper
the configured JSON parser features are applied to the mapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to theObjectMapper
.- bindingName
bindingName name of this
ObjectMapper
- configuredFeatures
the list of
JsonParser.Feature
that were configured inakka.serialization.jackson.json-parser-features
-
def
overrideConfiguredJsonReadFeatures(bindingName: String, configuredFeatures: Seq[(JsonReadFeature, Boolean)]): Seq[(JsonReadFeature, Boolean)]
JsonReadFeature
s used to configure theJsonFactoryBuilder
that, if provided, will later be used to create anObjectMapper
.JsonReadFeature
s used to configure theJsonFactoryBuilder
that, if provided, will later be used to create anObjectMapper
. These features can be amended programmatically by overriding this method and return the features that are to be applied to theJsonFactoryBuilder
.- bindingName
bindingName name of this
ObjectMapper
- configuredFeatures
the list of
JsonReadFeature
that were configured inakka.serialization.jackson.json-read-features
-
def
overrideConfiguredJsonWriteFeatures(bindingName: String, configuredFeatures: Seq[(JsonWriteFeature, Boolean)]): Seq[(JsonWriteFeature, Boolean)]
JsonWriteFeature
s used to configure theJsonFactoryBuilder
that, if provided, will later be used to create anObjectMapper
.JsonWriteFeature
s used to configure theJsonFactoryBuilder
that, if provided, will later be used to create anObjectMapper
. These features can be amended programmatically by overriding this method and return the features that are to be applied to theJsonFactoryBuilder
.- bindingName
bindingName name of this
ObjectMapper
- configuredFeatures
the list of
JsonWriteFeature
that were configured inakka.serialization.jackson.json-write-features
-
def
overrideConfiguredMapperFeatures(bindingName: String, configuredFeatures: Seq[(MapperFeature, Boolean)]): Seq[(MapperFeature, Boolean)]
After construction of the
ObjectMapper
the configured mapper features are applied to the mapper.After construction of the
ObjectMapper
the configured mapper features are applied to the mapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to theObjectMapper
.- bindingName
bindingName name of this
ObjectMapper
- configuredFeatures
the list of
MapperFeatures
that were configured inakka.serialization.jackson.mapper-features
-
def
overrideConfiguredModules(bindingName: String, configuredModules: Seq[Module]): Seq[Module]
After construction of the
ObjectMapper
the configured modules are added to the mapper.After construction of the
ObjectMapper
the configured modules are added to the mapper. These modules can be amended programatically by overriding this method and return the modules that are to be applied to theObjectMapper
.When implementing a
JacksonObjectMapperFactory
with Java theimmutable.Seq
can be created with akka.japi.Util.immutableSeq.- bindingName
bindingName name of this
ObjectMapper
- configuredModules
the list of
Modules
that were configured inakka.serialization.jackson.deserialization-features
-
def
overrideConfiguredSerializationFeatures(bindingName: String, configuredFeatures: Seq[(SerializationFeature, Boolean)]): Seq[(SerializationFeature, Boolean)]
After construction of the
ObjectMapper
the configured serialization features are applied to the mapper.After construction of the
ObjectMapper
the configured serialization features are applied to the mapper. These features can be amended programatically by overriding this method and return the features that are to be applied to theObjectMapper
.When implementing a
JacksonObjectMapperFactory
with Java theimmutable.Seq
can be created with akka.japi.Util.immutableSeq.- bindingName
bindingName name of this
ObjectMapper
- configuredFeatures
the list of
SerializationFeature
that were configured inakka.serialization.jackson.serialization-features
-
def
overrideConfiguredStreamReadFeatures(bindingName: String, configuredFeatures: Seq[(StreamReadFeature, Boolean)]): Seq[(StreamReadFeature, Boolean)]
StreamReadFeature
s used to configure theJsonFactoryBuilder
that, if provided, will later be used to create anObjectMapper
.StreamReadFeature
s used to configure theJsonFactoryBuilder
that, if provided, will later be used to create anObjectMapper
. These features can be amended programmatically by overriding this method and return the features that are to be applied to theJsonFactoryBuilder
.- bindingName
bindingName name of this
ObjectMapper
- configuredFeatures
the list of
StreamReadFeature
that were configured inakka.serialization.jackson.stream-read-features
-
def
overrideConfiguredStreamWriteFeatures(bindingName: String, configuredFeatures: Seq[(StreamWriteFeature, Boolean)]): Seq[(StreamWriteFeature, Boolean)]
StreamWriteFeature
s used to configure theJsonFactoryBuilder
that, if provided, will later be used to create anObjectMapper
.StreamWriteFeature
s used to configure theJsonFactoryBuilder
that, if provided, will later be used to create anObjectMapper
. These features can be amended programmatically by overriding this method and return the features that are to be applied to theJsonFactoryBuilder
.- bindingName
bindingName name of this
ObjectMapper
- configuredFeatures
the list of
StreamWriterFeature
that were configured inakka.serialization.jackson.stream-write-features
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (JacksonObjectMapperFactory, B)
- Implicit
- This member is added by an implicit conversion from JacksonObjectMapperFactory to ArrowAssoc[JacksonObjectMapperFactory] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc