public interface SerializerFactory
It is used when no serializer is explicitly defined for a message type, either specific to the endpoint, or for a descriptor.
Modifier and Type | Field and Description |
---|---|
static SerializerFactory |
DEFAULT
The default serializer factory.
|
static SerializerFactory |
JACKSON
The default Jackson serializer factory.
|
Modifier and Type | Method and Description |
---|---|
<MessageEntity> |
messageSerializerFor(Type type)
Get a message serializer for the given type.
|
static final SerializerFactory JACKSON
This is only a placeholder, the framework will provide the actual implementation at runtime.
static final SerializerFactory DEFAULT
<MessageEntity> MessageSerializer<MessageEntity,?> messageSerializerFor(Type type)
type
- The type to get a message serializer for.