Package org.fcrepo.camel.ldpath
Class ClientFactory
- java.lang.Object
-
- org.fcrepo.camel.ldpath.ClientFactory
-
public class ClientFactory extends Object
A convenience factory for creating a ClientConfiguration object- Since:
- Aug 5, 2016
- Author:
- acoburn
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.marmotta.ldclient.model.ClientConfigurationcreateClient(List<org.apache.marmotta.ldclient.api.endpoint.Endpoint> endpoints, List<org.apache.marmotta.ldclient.api.provider.DataProvider> providers)Configure a linked data client suitable for use with a Fedora Repository.static org.apache.marmotta.ldclient.model.ClientConfigurationcreateClient(org.apache.http.auth.AuthScope authScope, org.apache.http.auth.Credentials credentials)Configure a linked data client suitable for use with a Fedora Repository.static org.apache.marmotta.ldclient.model.ClientConfigurationcreateClient(org.apache.http.auth.AuthScope authScope, org.apache.http.auth.Credentials credentials, List<org.apache.marmotta.ldclient.api.endpoint.Endpoint> endpoints, List<org.apache.marmotta.ldclient.api.provider.DataProvider> providers)Create a linked data client suitable for use with a Fedora Repository.static org.apache.marmotta.ldclient.model.ClientConfigurationcreateClient(org.apache.marmotta.ldclient.api.endpoint.Endpoint endpoint)Configure a linked data client suitable for use with a Fedora Repository.static org.apache.marmotta.ldclient.model.ClientConfigurationcreateClient(org.apache.marmotta.ldclient.api.endpoint.Endpoint endpoint, org.apache.marmotta.ldclient.api.provider.DataProvider provider)Configure a linked data client suitable for use with a Fedora Repository.static org.apache.marmotta.ldclient.model.ClientConfigurationcreateClient(org.apache.marmotta.ldclient.api.provider.DataProvider provider)Configure a linked data client suitable for use with a Fedora Repository.
-
-
-
Method Detail
-
createClient
public static org.apache.marmotta.ldclient.model.ClientConfiguration createClient(org.apache.marmotta.ldclient.api.endpoint.Endpoint endpoint)
Configure a linked data client suitable for use with a Fedora Repository.- Parameters:
endpoint- Endpoint to enable on the client- Returns:
- a configuration for use with an LDClient
-
createClient
public static org.apache.marmotta.ldclient.model.ClientConfiguration createClient(org.apache.marmotta.ldclient.api.provider.DataProvider provider)
Configure a linked data client suitable for use with a Fedora Repository.- Parameters:
provider- Provider to enable on the client- Returns:
- a configuration for use with an LDClient
-
createClient
public static org.apache.marmotta.ldclient.model.ClientConfiguration createClient(org.apache.marmotta.ldclient.api.endpoint.Endpoint endpoint, org.apache.marmotta.ldclient.api.provider.DataProvider provider)
Configure a linked data client suitable for use with a Fedora Repository.- Parameters:
endpoint- Endpoint to enable on the clientprovider- Provider to enable on the client- Returns:
- a configuration for use with an LDClient
-
createClient
public static org.apache.marmotta.ldclient.model.ClientConfiguration createClient(List<org.apache.marmotta.ldclient.api.endpoint.Endpoint> endpoints, List<org.apache.marmotta.ldclient.api.provider.DataProvider> providers)
Configure a linked data client suitable for use with a Fedora Repository.- Parameters:
endpoints- additional endpoints to enable on the clientproviders- additional providers to enable on the client- Returns:
- a configuration for use with an LDClient
-
createClient
public static org.apache.marmotta.ldclient.model.ClientConfiguration createClient(org.apache.http.auth.AuthScope authScope, org.apache.http.auth.Credentials credentials)
Configure a linked data client suitable for use with a Fedora Repository.- Parameters:
authScope- the authentication scopecredentials- the credentials- Returns:
- a configuration for use with an LDClient
-
createClient
public static org.apache.marmotta.ldclient.model.ClientConfiguration createClient(org.apache.http.auth.AuthScope authScope, org.apache.http.auth.Credentials credentials, List<org.apache.marmotta.ldclient.api.endpoint.Endpoint> endpoints, List<org.apache.marmotta.ldclient.api.provider.DataProvider> providers)
Create a linked data client suitable for use with a Fedora Repository.- Parameters:
authScope- the authentication scopecredentials- the credentialsendpoints- additional endpoints to enable on the clientproviders- additional providers to enable on the client- Returns:
- a configuration for use with an LDClient
-
-