@Scope(value="request") @Path(value="/{path: .*}") public class FedoraNodes extends ContentExposingResource
Modifier and Type | Field and Description |
---|---|
protected String |
externalPath |
protected javax.ws.rs.core.Request |
request |
protected FedoraResource |
resource |
protected javax.servlet.http.HttpServletResponse |
servletResponse |
protected javax.ws.rs.core.UriInfo |
uriInfo |
ACCEPT_DATETIME, context, extContentHandlerFactory, lockManager, namespaceRegistry, prefer, RFC3230_SPLITTER
idTranslator, securityContext, session
binaryService, containerService, defaultPidMinter, headers, nodeService, pidMinter, timeMapService, versionService
Constructor and Description |
---|
FedoraNodes()
Default JAX-RS entry point
|
FedoraNodes(String externalPath)
Create a new FedoraNodes instance for a given path
|
Modifier and Type | Method and Description |
---|---|
protected void |
addResourceHttpHeaders(FedoraResource resource)
Add any resource-specific headers to the response
|
javax.ws.rs.core.Response |
copyObject(String destinationUri)
Deprecated.
Copies an object from one path to another
|
protected String |
externalPath() |
javax.ws.rs.core.Response |
moveObject(String destinationUri)
Deprecated.
Moves an object from one path to another
|
void |
postConstruct()
Run these actions after initializing this resource
|
addCacheControlHeaders, addExternalContentHeaders, addLinkAndOptionsHttpHeaders, buildLink, checkCacheControlHeaders, checkForInsufficientStorageException, checksumURI, createUpdateResponse, evaluateRequestPreconditions, getBinaryResourceMediaType, getChildrenLimit, getContent, getResourceTriples, getSimpleContentType, getUri, hasRestrictedPath, isRdfContentType, parseDigestHeader, patchResourcewithSparql, replaceResourceBinaryWithStream, replaceResourceWithStream, resource, setVaryAndPreferenceAppliedHeaders, unpackLinks
asNode, getResourceFromPath, getUserPrincipal, setUpJMSInfo, translator
toPath
@Context protected javax.ws.rs.core.Request request
@Context protected javax.servlet.http.HttpServletResponse servletResponse
@Context protected javax.ws.rs.core.UriInfo uriInfo
@PathParam(value="path") protected String externalPath
protected FedoraResource resource
public FedoraNodes()
public FedoraNodes(String externalPath)
externalPath
- the external path@PostConstruct public void postConstruct()
postConstruct
in class ContentExposingResource
@Deprecated public javax.ws.rs.core.Response copyObject(@HeaderParam(value="Destination") String destinationUri) throws URISyntaxException
destinationUri
- the destination uriURISyntaxException
- if uri syntax exception occurred@Deprecated public javax.ws.rs.core.Response moveObject(@HeaderParam(value="Destination") String destinationUri) throws URISyntaxException
destinationUri
- the destination uriURISyntaxException
- if uri syntax exception occurredprotected void addResourceHttpHeaders(FedoraResource resource)
ContentExposingResource
addResourceHttpHeaders
in class ContentExposingResource
resource
- the resourceprotected String externalPath()
externalPath
in class ContentExposingResource
Copyright © 2013–2019 DuraSpace, Inc.. All rights reserved.