Package io.micronaut.nats.serdes
Interface NatsMessageSerDesRegistry
- All Known Implementing Classes:
- DefaultNatsMessageSerDesRegistry
public interface NatsMessageSerDesRegistry
A registry of 
NatsMessageSerDes instances. Responsible for returning the serdes
 that support the given type.- Since:
- 1.0.0
- Author:
- jgrimm
- See Also:
- 
Method SummaryModifier and TypeMethodDescription<T> Optional<NatsMessageSerDes<T>>findSerdes(io.micronaut.core.type.Argument<T> type) Returns the serdes that supports the given type.
- 
Method Details- 
findSerdesReturns the serdes that supports the given type.- Type Parameters:
- T- The type to be serialized/deserialized
- Parameters:
- type- The type
- Returns:
- An optional serdes
 
 
-