Class NaiveUserAgent.DefaultUriResolver

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String resolveURI​(java.lang.String baseUri, java.lang.String uri)
      Resolves the URI; if absolute, leaves as is, if relative, returns an absolute URI based on the baseUrl for the agent.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultUriResolver

        public DefaultUriResolver()
    • Method Detail

      • resolveURI

        public java.lang.String resolveURI​(java.lang.String baseUri,
                                           java.lang.String uri)
        Resolves the URI; if absolute, leaves as is, if relative, returns an absolute URI based on the baseUrl for the agent.
        Specified by:
        resolveURI in interface FSUriResolver
        Parameters:
        uri - A URI, possibly relative.
        Returns:
        A URI as String, resolved, or null if there was an exception (for example if the URI is malformed).