c

akka.serialization.jackson

JacksonObjectMapperFactory

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.

Source
JacksonObjectMapperProvider.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JacksonObjectMapperFactory
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new JacksonObjectMapperFactory()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from JacksonObjectMapperFactory toany2stringadd[JacksonObjectMapperFactory] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (JacksonObjectMapperFactory, B)
    Implicit
    This member is added by an implicit conversion from JacksonObjectMapperFactory toArrowAssoc[JacksonObjectMapperFactory] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  8. def ensuring(cond: (JacksonObjectMapperFactory) => Boolean, msg: => Any): JacksonObjectMapperFactory
    Implicit
    This member is added by an implicit conversion from JacksonObjectMapperFactory toEnsuring[JacksonObjectMapperFactory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (JacksonObjectMapperFactory) => Boolean): JacksonObjectMapperFactory
    Implicit
    This member is added by an implicit conversion from JacksonObjectMapperFactory toEnsuring[JacksonObjectMapperFactory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: => Any): JacksonObjectMapperFactory
    Implicit
    This member is added by an implicit conversion from JacksonObjectMapperFactory toEnsuring[JacksonObjectMapperFactory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): JacksonObjectMapperFactory
    Implicit
    This member is added by an implicit conversion from JacksonObjectMapperFactory toEnsuring[JacksonObjectMapperFactory] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def newObjectMapper(bindingName: String, jsonFactory: JsonFactory): ObjectMapper

    Override this method to create a new custom instance of ObjectMapper for the given serializerIdentifier.

    Override this method to create a new custom instance of ObjectMapper for the given serializerIdentifier.

    bindingName

    name of this ObjectMapper

    jsonFactory

    optional JsonFactory such as CBORFactory, for plain JSON None (defaults) can be used

  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  21. 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 the ObjectMapper.

    When implementing a JacksonObjectMapperFactory with Java the immutable.Seq can be created with akka.japi.Util.immutableSeq.

    bindingName

    bindingName name of this ObjectMapper

    configuredFeatures

    the list of DeserializationFeature that were configured in akka.serialization.jackson.deserialization-features

  22. 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 the ObjectMapper.

    bindingName

    bindingName name of this ObjectMapper

    configuredFeatures

    the list of JsonGenerator.Feature that were configured in akka.serialization.jackson.json-generator-features

  23. 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 the ObjectMapper.

    bindingName

    bindingName name of this ObjectMapper

    configuredFeatures

    the list of JsonParser.Feature that were configured in akka.serialization.jackson.json-parser-features

  24. def overrideConfiguredJsonReadFeatures(bindingName: String, configuredFeatures: Seq[(JsonReadFeature, Boolean)]): Seq[(JsonReadFeature, Boolean)]

    JsonReadFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper.

    JsonReadFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the JsonFactoryBuilder.

    bindingName

    bindingName name of this ObjectMapper

    configuredFeatures

    the list of JsonReadFeature that were configured in akka.serialization.jackson.json-read-features

  25. def overrideConfiguredJsonWriteFeatures(bindingName: String, configuredFeatures: Seq[(JsonWriteFeature, Boolean)]): Seq[(JsonWriteFeature, Boolean)]

    JsonWriteFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper.

    JsonWriteFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the JsonFactoryBuilder.

    bindingName

    bindingName name of this ObjectMapper

    configuredFeatures

    the list of JsonWriteFeature that were configured in akka.serialization.jackson.json-write-features

  26. 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 the ObjectMapper.

    bindingName

    bindingName name of this ObjectMapper

    configuredFeatures

    the list of MapperFeatures that were configured in akka.serialization.jackson.mapper-features

  27. 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 the ObjectMapper.

    When implementing a JacksonObjectMapperFactory with Java the immutable.Seq can be created with akka.japi.Util.immutableSeq.

    bindingName

    bindingName name of this ObjectMapper

    configuredModules

    the list of Modules that were configured in akka.serialization.jackson.deserialization-features

  28. 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 the ObjectMapper.

    When implementing a JacksonObjectMapperFactory with Java the immutable.Seq can be created with akka.japi.Util.immutableSeq.

    bindingName

    bindingName name of this ObjectMapper

    configuredFeatures

    the list of SerializationFeature that were configured in akka.serialization.jackson.serialization-features

  29. def overrideConfiguredStreamReadFeatures(bindingName: String, configuredFeatures: Seq[(StreamReadFeature, Boolean)]): Seq[(StreamReadFeature, Boolean)]

    StreamReadFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper.

    StreamReadFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the JsonFactoryBuilder.

    bindingName

    bindingName name of this ObjectMapper

    configuredFeatures

    the list of StreamReadFeature that were configured in akka.serialization.jackson.stream-read-features

  30. def overrideConfiguredStreamWriteFeatures(bindingName: String, configuredFeatures: Seq[(StreamWriteFeature, Boolean)]): Seq[(StreamWriteFeature, Boolean)]

    StreamWriteFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper.

    StreamWriteFeatures used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper. These features can be amended programmatically by overriding this method and return the features that are to be applied to the JsonFactoryBuilder.

    bindingName

    bindingName name of this ObjectMapper

    configuredFeatures

    the list of StreamWriterFeature that were configured in akka.serialization.jackson.stream-write-features

  31. def overrideConfiguredVisibility(bindingName: String, configuredFeatures: Seq[(PropertyAccessor, Visibility)]): Seq[(PropertyAccessor, Visibility)]

    Visibility settings used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper.

    Visibility settings used to configure the JsonFactoryBuilder that, if provided, will later be used to create an ObjectMapper. These settings can be amended programmatically by overriding this method and return the values that are to be applied to the JsonFactoryBuilder.

    bindingName

    bindingName name of this ObjectMapper

    configuredFeatures

    the list of PropertyAccessor/JsonAutoDetect.Visibility that were configured in akka.serialization.jackson.visibility

  32. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from JacksonObjectMapperFactory toStringFormat[JacksonObjectMapperFactory] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (JacksonObjectMapperFactory, B)
    Implicit
    This member is added by an implicit conversion from JacksonObjectMapperFactory toArrowAssoc[JacksonObjectMapperFactory] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromJacksonObjectMapperFactory to any2stringadd[JacksonObjectMapperFactory]

Inherited by implicit conversion StringFormat fromJacksonObjectMapperFactory to StringFormat[JacksonObjectMapperFactory]

Inherited by implicit conversion Ensuring fromJacksonObjectMapperFactory to Ensuring[JacksonObjectMapperFactory]

Inherited by implicit conversion ArrowAssoc fromJacksonObjectMapperFactory to ArrowAssoc[JacksonObjectMapperFactory]

Ungrouped