public interface PubSubMessageSerDesRegistry
PubSubMessageSerDes instances. Returns the
SerDes for the given MediaType| Modifier and Type | Method and Description |
|---|---|
default java.util.Optional<PubSubMessageSerDes> |
find(io.micronaut.http.MediaType type)
Retrieves the appropriate PubSubMessageSerDes for the provided contentType.
|
java.util.Optional<PubSubMessageSerDes> |
find(java.lang.String contentType)
Retrieves the appropriate PubSubMessageSerDes for the provided contentType.
|
default java.util.Optional<PubSubMessageSerDes> find(io.micronaut.http.MediaType type)
type - The MIME type to search for a SerDesjava.util.Optional<PubSubMessageSerDes> find(java.lang.String contentType)
contentType - The MIME type to search for a SerDes