public HTTPRepository(String repositoryURL) {
ValueFactory vf = new ValueFactoryImpl(new BNodeFactoryImpl(), uf, lf);
String serverURL = Protocol.getServerLocation(repositoryURL);
if (serverURL != null) {
pool = new HTTPConnectionPool(serverURL, vf).location(repositoryURL);
}
else {
pool = new HTTPConnectionPool(repositoryURL, vf);
}
client = new RepositoryClient(pool);
cache = new RepositoryCache(client);
}