@Scope(value="request") @Path(value="/oai") public class OAIWebResource extends Object
| Constructor and Description |
|---|
OAIWebResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createSet(javax.ws.rs.core.UriInfo uriInfo,
InputStream src)
Create set.
|
Object |
getOAIResponse(String verbParam,
String identifierParam,
String metadataPrefixParam,
String fromParam,
String untilParam,
String setParam,
String resumptionToken,
javax.ws.rs.core.UriInfo uriInfo)
Gets OAI response.
|
public OAIWebResource()
@POST @Path(value="/sets") @Consumes(value="text/xml") public javax.ws.rs.core.Response createSet(@Context javax.ws.rs.core.UriInfo uriInfo, InputStream src) throws javax.jcr.RepositoryException
uriInfo - the uri infosrc - the srcjavax.jcr.RepositoryException - the repository exception@GET @Produces(value="text/xml") public Object getOAIResponse(@QueryParam(value="verb") String verbParam, @QueryParam(value="identifier") String identifierParam, @QueryParam(value="metadataPrefix") String metadataPrefixParam, @QueryParam(value="from") String fromParam, @QueryParam(value="until") String untilParam, @QueryParam(value="set") String setParam, @QueryParam(value="resumptionToken") String resumptionToken, @Context javax.ws.rs.core.UriInfo uriInfo) throws javax.jcr.RepositoryException
verbParam - the verbidentifierParam - the identifiermetadataPrefixParam - the metadata prefixfromParam - the fromuntilParam - the untilsetParam - the setresumptionToken - the resumption tokenuriInfo - the uri infojavax.jcr.RepositoryException - the repository exceptionCopyright © 2013–2015 DuraSpace, Inc.. All rights reserved.