@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_SPLITTERidTranslator, securityContext, sessionbinaryService, containerService, defaultPidMinter, headers, nodeService, pidMinter, 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, unpackLinksasNode, getResourceFromPath, getUserPrincipal, setUpJMSInfo, translatortoPath@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)
ContentExposingResourceaddResourceHttpHeaders in class ContentExposingResourceresource - the resourceprotected String externalPath()
externalPath in class ContentExposingResourceCopyright © 2013–2019 DuraSpace, Inc.. All rights reserved.