public interface LDClientService
Modifier and Type | Method and Description |
---|---|
org.apache.http.client.HttpClient |
getClient()
Get access to the Apache HTTP Client managed by the connection handler to execute
a request.
|
ClientConfiguration |
getClientConfiguration()
Get the client configuration used by the connection handler
|
Set<DataProvider> |
getDataProviders()
Return a collection of all available data providers (i.e.
|
Endpoint |
getEndpoint(String resource)
Retrieve the endpoint matching the KiWiUriResource passed as argument.
|
boolean |
hasEndpoint(String urlPattern)
Test whether an endpoint definition for the given url pattern already exists.
|
boolean |
ping(String resource)
Perform a ping (HTTP HEAD) to the resource
|
ClientResponse |
retrieveResource(String resource)
Retrieve all triples for this resource from the Linked Data Cloud.
|
void |
shutdown() |
boolean ping(String resource)
resource
- ClientResponse retrieveResource(String resource) throws DataRetrievalException
resource
- the URI resource for which to retrieve the triplesDataRetrievalException
org.apache.http.client.HttpClient getClient()
ClientConfiguration getClientConfiguration()
Endpoint getEndpoint(String resource)
resource
- the KiWiUriResource to check.boolean hasEndpoint(String urlPattern)
urlPattern
- void shutdown()
Set<DataProvider> getDataProviders()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.