Class RegistryHttpClient


public class RegistryHttpClient extends AbstractRegistryWithPrefix<String,HttpClient>
A service registry is a collection of HttpClients to use for specific URLs.

The lookup (AbstractRegistryWithPrefix.find(X)) is by longest prefix. e.g. a registration of "http://someHost/" or "http://someHost/dataset" will apply to "http://someHost/dataset/sparql" and "http://someHost/dataset/update" but not to https://someHost/... which uses "https".

This is one way of managing authentication for particular remote services - register a HttpClient with authentication credentials.