public URLResourceProvider(URL baseURL, String root, Timespan connectTimeout, Timespan readTimeout) throws UnsupportedURIException, URISyntaxException
{
super(PathUtils.addPaths(baseURL.getPath(), root));
if(baseURL.toURI().isOpaque())
throw new UnsupportedURIException(baseURL + " is opaque");
_baseURL = baseURL;
_connectTimeout = connectTimeout;
_readTimeout = readTimeout;
}