public class Item extends ResourceBase
GraphStore,
4.1 Direct Graph Identification| Constructor and Description |
|---|
Item(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.Request request,
com.atomgraph.core.MediaTypes mediaTypes,
com.atomgraph.core.model.Service service,
Application application,
org.apache.jena.ontology.Ontology ontology,
TemplateCall templateCall,
javax.ws.rs.core.HttpHeaders httpHeaders,
com.sun.jersey.api.core.ResourceContext resourceContext) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
delete()
Handles
DELETE method, deletes the RDF representation of this resource from the application's dataset, and
returns response. |
javax.ws.rs.core.Response |
get() |
javax.ws.rs.core.Response |
post(org.apache.jena.query.Dataset dataset)
Handles
POST method. |
javax.ws.rs.core.Response |
put(org.apache.jena.query.Dataset dataset)
Handles
PUT method. |
getApplication, getCacheControl, getHttpHeaders, getLanguages, getOntology, getOntResource, getQuery, getQuerySolutionMap, getResourceContext, getResponseBuilder, getResponseBuilder, getSubResource, getTemplateCall, getUpdatedescribe, getQuery, getServicegetEncodings, getEntityTag, getEntityTag, getLastModified, getLastModified, getMediaTypes, getRequest, getResponse, getResponse, getURI, getUriInfo, getVariants, getWritableMediaTypespublic Item(@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.ws.rs.core.Request request,
@Context
com.atomgraph.core.MediaTypes mediaTypes,
@Context
com.atomgraph.core.model.Service service,
@Context
Application application,
@Context
org.apache.jena.ontology.Ontology ontology,
@Context
TemplateCall templateCall,
@Context
javax.ws.rs.core.HttpHeaders httpHeaders,
@Context
com.sun.jersey.api.core.ResourceContext resourceContext)
public javax.ws.rs.core.Response get()
get in interface com.atomgraph.core.model.Resourceget in class com.atomgraph.core.model.impl.QueriedResourceBasepublic javax.ws.rs.core.Response post(org.apache.jena.query.Dataset dataset)
ResourceBasePOST method. Appends the submitted RDF representation to the application's dataset.post in interface com.atomgraph.core.model.Resourcepost in class ResourceBasedataset - the RDF payload200 OKpublic javax.ws.rs.core.Response put(org.apache.jena.query.Dataset dataset)
ResourceBasePUT method. Deletes the resource description (if any) and
appends the submitted RDF representation to the application's dataset.put in interface com.atomgraph.core.model.Resourceput in class ResourceBasedataset - RDF payload201 Created if resource did not exist, 200 OK if it didpublic javax.ws.rs.core.Response delete()
ResourceBaseDELETE method, deletes the RDF representation of this resource from the application's dataset, and
returns response.delete in interface com.atomgraph.core.model.Resourcedelete in class ResourceBase204 No ContentCopyright © 2015–2020. All rights reserved.