Interface StatusSerializer


  • public interface StatusSerializer
    Interface to allow custom serialization for a Status. Framework users can define their own format to return an error message to a consumer
    Author:
    Dan Dobrin
    • Method Detail

      • serializeStatus

        String serializeStatus​(Status status)
        Serialize the status and provide a custom format in the iomplementing class
        Parameters:
        status - The status to be serialized
        Returns:
        the format Status object, to be serialized and returned to the consumer