Package org.fcrepo.camel.ldpath
Class FedoraEndpoint
- java.lang.Object
-
- org.apache.marmotta.ldclient.api.endpoint.Endpoint
-
- org.fcrepo.camel.ldpath.FedoraEndpoint
-
- All Implemented Interfaces:
Comparable<org.apache.marmotta.ldclient.api.endpoint.Endpoint>
public class FedoraEndpoint extends org.apache.marmotta.ldclient.api.endpoint.Endpoint
- Since:
- Aug 5, 2016
- Author:
- acoburn
-
-
Constructor Summary
Constructors Constructor Description FedoraEndpoint(String namespace)Create a Fedora endpoint to be used with the Marmotta LDClient Note: the baseUrl defined here is used by the LDClient to determine what rules to apply when dereferencing URIs that start with the given namespace.FedoraEndpoint(String namespace, Long timeout)Create a Fedora endpoint to be used with the Marmotta LDClient Note: the baseUrl defined here is used by the LDClient to determine what rules to apply when dereferencing URIs that start with the given namespace.
-
Method Summary
-
Methods inherited from class org.apache.marmotta.ldclient.api.endpoint.Endpoint
addContentType, compareTo, equals, getContentTypes, getDefaultExpiry, getEndpointUrl, getName, getPriority, getProperty, getType, getUriPattern, getUriPatternCompiled, handles, hashCode, hasProperty, isActive, setActive, setContentTypes, setDefaultExpiry, setEndpointUrl, setName, setPriority, setProperty, setType, setUriPattern
-
-
-
-
Constructor Detail
-
FedoraEndpoint
public FedoraEndpoint(String namespace)
Create a Fedora endpoint to be used with the Marmotta LDClient Note: the baseUrl defined here is used by the LDClient to determine what rules to apply when dereferencing URIs that start with the given namespace.- Parameters:
namespace- the namespace for the Fedora endpoint (e.g. http://localhost:8080/fcrepo/rest/)
-
FedoraEndpoint
public FedoraEndpoint(String namespace, Long timeout)
Create a Fedora endpoint to be used with the Marmotta LDClient Note: the baseUrl defined here is used by the LDClient to determine what rules to apply when dereferencing URIs that start with the given namespace.- Parameters:
namespace- the namespace for the Fedora endpoint (e.g. http://localhost:8080/fcrepo/rest/)timeout- the length of time (in seconds) to cache the data
-
-