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