public class GetResourceShape extends GetResource<org.eclipse.lyo.oslc4j.core.model.ResourceShape>
The resource shape URI is usually given by a
http://open-services.net/ns/core#instanceShape property set on an OSLC resource, e.g.
URI resourceShapeUri = ResourceProperties.getURI(resource, OslcCore.PROPERTY_INSTANCE_SHAPE);
|Constructor and Description|
Creates a request to read the content of a resource shape.
|Modifier and Type||Method and Description|
call, createErrorResponse, createResourceResponse, getClient, getUri
protected ResourceResponse<org.eclipse.lyo.oslc4j.core.model.ResourceShape> createResponse(OslcResource resource, ClientResponse response)
ResourceResponseinstance from the obtained HTTP response. The response contains the response headers, from which the
ETagheader can be extracted in case this request is to follow by a