Interface URIFactory

    • Method Detail

      • create

        URI create​(String uri)
        Parameters:
        uri - Some uri string.
        Returns:
        The converted URI.
        Throws:
        IllegalArgumentException - if there was a problem creating the URI with the given data.
      • create

        URI create​(URI baseURI,
                   String segment)
        Parameters:
        baseURI - The base URI.
        segment - The segment to add to the base URI.
        Returns:
        The combined URI.
        Throws:
        IllegalArgumentException - if there was a problem creating the URI with the given data.