public interface LinkedDataPlatform
| Modifier and Type | Method and Description |
|---|---|
LdpResponse |
createResponse() |
LdpResponse |
createResponse(OutputStream out) |
void |
delete(String resourceIRI) |
ResourceFile |
get(String resourceIRI) |
RequestBuilder |
getRequestBuilder() |
ResourceBuilder |
getResourceBuilder() |
void |
post(String containerId,
ResourceFile resource) |
int |
put(ResourceFile resource)
Create or update the specified resource.
|
int |
serve(LdpRequest request,
LdpResponse response) |
ResourceBuilder getResourceBuilder()
RequestBuilder getRequestBuilder()
LdpResponse createResponse(OutputStream out)
LdpResponse createResponse()
void post(String containerId, ResourceFile resource) throws IOException, LdpException
IOExceptionLdpExceptionResourceFile get(String resourceIRI) throws IOException, LdpException
IOExceptionLdpExceptionint put(ResourceFile resource) throws IOException, LdpException
resource - The resource that is being created or updated within the server.IOExceptionLdpExceptionvoid delete(String resourceIRI) throws IOException, LdpException
IOExceptionLdpExceptionint serve(LdpRequest request, LdpResponse response) throws IOException, LdpException
IOExceptionLdpExceptionCopyright © 2016. All rights reserved.