@Singleton public class JacksonSerializerFactory extends Object implements SerializerFactory
DEFAULT, JACKSON
Constructor and Description |
---|
JacksonSerializerFactory(akka.actor.ActorSystem system) |
JacksonSerializerFactory(com.lightbend.lagom.internal.jackson.JacksonObjectMapperProvider provider)
For testing purposes
|
Modifier and Type | Method and Description |
---|---|
<MessageEntity> |
messageSerializerFor(java.lang.reflect.Type type)
Get a message serializer for the given type.
|
@Inject public JacksonSerializerFactory(akka.actor.ActorSystem system)
public JacksonSerializerFactory(com.lightbend.lagom.internal.jackson.JacksonObjectMapperProvider provider)
public <MessageEntity> StrictMessageSerializer<MessageEntity> messageSerializerFor(java.lang.reflect.Type type)
SerializerFactory
messageSerializerFor
in interface SerializerFactory
type
- The type to get a message serializer for.