Interface PubSubMessageSerDesRegistry

    • Method Detail

      • find

        default java.util.Optional<PubSubMessageSerDes> find​(io.micronaut.http.MediaType type)
        Retrieves the appropriate PubSubMessageSerDes for the provided contentType.
        Parameters:
        type - The MIME type to search for a SerDes
        Returns:
        the registered SerDes
      • find

        java.util.Optional<PubSubMessageSerDes> find​(java.lang.String contentType)
        Retrieves the appropriate PubSubMessageSerDes for the provided contentType.
        Parameters:
        contentType - The MIME type to search for a SerDes
        Returns:
        the registered SerDes