@Scope(value="request") @Path(value="/{path: .*}/fcr:fixity") public class FedoraFixity extends ContentExposingResource
Modifier and Type | Field and Description |
---|---|
protected String |
externalPath |
protected javax.jcr.Session |
session |
MESSAGE_EXTERNAL_BODY, prefer, request, resource, servletResponse
idTranslator
binaryService, containerService, eventBus, headers, nodeService, pidMinter, sessions, uriInfo, versionService
Constructor and Description |
---|
FedoraFixity()
Default JAX-RS entry point
|
FedoraFixity(String externalPath)
Create a new FedoraNodes instance for a given path
|
Modifier and Type | Method and Description |
---|---|
protected String |
externalPath() |
RdfStream |
getDatastreamFixity()
Get the results of a fixity check for a path
GET /path/to/some/datastream/fcr:fixity
|
protected javax.jcr.Session |
session() |
addCacheControlHeaders, addResourceHttpHeaders, checkCacheControlHeaders, evaluateRequestPreconditions, getBinaryContent, getContent, getResourceTriples, getSimpleContentType, getTriples, getTriples, getUri, isRdfContentType, patchResourcewithSparql, replaceResourceBinaryWithStream, replaceResourceWithStream, resource
getBaseUrlProperty, getResourceFromPath, setUpJMSInfo, translator
toPath
@Inject protected javax.jcr.Session session
@PathParam(value="path") protected String externalPath
public FedoraFixity()
public FedoraFixity(String externalPath)
externalPath
- the external path@GET @Timed @Produces(value={"text/turtle;qs=10","application/ld+json;qs=8","text/rdf+n3","text/n3","application/rdf+xml","application/n-triples","application/xml","text/plain","application/x-turtle","text/html","application/xhtml+xml","*/*"}) public RdfStream getDatastreamFixity()
protected javax.jcr.Session session()
session
in class FedoraBaseResource
protected String externalPath()
externalPath
in class ContentExposingResource
Copyright © 2013–2015 DuraSpace, Inc.. All rights reserved.