public class PatchHandler extends BaseLdpHandler
audit, constraintServices, partitions, rdf, req, resourceService, SUPPORTED_RDF_TYPES| Constructor | Description |
|---|---|
PatchHandler(java.util.Map<java.lang.String,java.lang.String> partitions,
LdpRequest req,
java.lang.String sparqlUpdate,
org.trellisldp.api.ResourceService resourceService,
org.trellisldp.api.IOService ioService) |
Create a handler for PATCH operations
|
| Modifier and Type | Method | Description |
|---|---|---|
javax.ws.rs.core.Response.ResponseBuilder |
updateResource(org.trellisldp.api.Resource res) |
Update a resource with Sparql-Update and build an HTTP response
|
checkCache, checkDeletedpublic PatchHandler(java.util.Map<java.lang.String,java.lang.String> partitions,
LdpRequest req,
java.lang.String sparqlUpdate,
org.trellisldp.api.ResourceService resourceService,
org.trellisldp.api.IOService ioService)
partitions - the partitionsreq - the LDP requestsparqlUpdate - the sparql update bodyresourceService - the resource serviceioService - the serialization service