Interface ResultParser<R>

  • Type Parameters:
    R - the result type
    All Known Implementing Classes:
    JAXBParser

    public interface ResultParser<R>
    Transforms untyped results into typed results.
    Author:
    Fabio Simeoni
    See Also:
    DiscoveryClient, Query
    • Method Detail

      • parse

        R parse​(String result)
         throws Exception
        Transforms an untyped result.
        Parameters:
        result - the untyped results
        Returns:
        the typed result
        Throws:
        Exception - if the result cannot be typed