public interface NatsMessageSerDesRegistry
NatsMessageSerDes
instances. Responsible for returning the serdes
that support the given type.NatsMessageSerDes.supports(Argument)
Modifier and Type | Method and Description |
---|---|
<T> java.util.Optional<NatsMessageSerDes<T>> |
findSerdes(io.micronaut.core.type.Argument<T> type)
Returns the serdes that supports the given type.
|
<T> java.util.Optional<NatsMessageSerDes<T>> findSerdes(io.micronaut.core.type.Argument<T> type)
T
- The type to be serialized/deserializedtype
- The type