Interface FSUriResolver

All Known Implementing Classes:
NaiveUserAgent.DefaultUriResolver

public interface FSUriResolver
  • Method Summary

    Modifier and Type
    Method
    Description
    resolveURI(String baseUri, String uri)
    Used to find a uri that may be relative to the BaseURL.
  • Method Details

    • resolveURI

      String resolveURI(String baseUri, String uri)
      Used to find a uri that may be relative to the BaseURL. The returned value will always only be used via methods in the same implementation of this interface, therefore may be a private uri-space. Note: The base URI may point to a XHTML document or CSS document or be a directory. Note: This method may be called more than once for the same resource.
      Parameters:
      uri - an absolute or relative (to baseUri) uri to be resolved.
      Returns:
      the full uri in uri-spaces known to the current implementation or null to veto the request.