public class GetUserGroup extends GetResource<UserGroup>
Constructor and Description |
---|
GetUserGroup(OslcClient client,
URI uri)
Creates a request to get the definition of a LQE user group.
|
Modifier and Type | Method and Description |
---|---|
protected ResourceResponse<UserGroup> |
createResponse(OslcResource resource,
ClientResponse response)
Extracts a
ResourceResponse instance from the obtained HTTP response. |
call, get
call, createErrorResponse, createResourceResponse, getClient, getUri
public GetUserGroup(OslcClient client, URI uri)
client
- the OSLC client to connect to the application.uri
- the user group URLprotected ResourceResponse<UserGroup> createResponse(OslcResource resource, ClientResponse response)
GetResource
ResourceResponse
instance from the obtained HTTP response.
The response contains the response headers, from which the ETag
header can be extracted in case this request is to follow by a
PUT
.createResponse
in class GetResource<UserGroup>
resource
- the resource on which a request is executed.response
- the response obtained.