public class DeleteUserGroup extends DeleteResource
Constructor and Description |
---|
DeleteUserGroup(OslcClient client,
URI uri,
String eTag)
Creates a request to delete a LQE group.
|
Modifier and Type | Method and Description |
---|---|
protected ClientResponse |
call(OslcResource resource)
Executes a DELETE request on the resource.
|
createResponse
call, createErrorResponse, createResourceResponse, getClient, getUri
public DeleteUserGroup(OslcClient client, URI uri, String eTag)
client
- the OSLC client to connect to the application.uri
- the group URLeTag
- the ETag header obtained in the GetUserGroup
responseprotected ClientResponse call(OslcResource resource)
DeleteResource
An OSLC-Core-Version
header is set to 2.0
, as the DELETE is expected to execute on an OSLC resource. Clients should
subclass AbstractResourceRequest
to execute a DELETE on a non-OSLC resource.
call
in class DeleteResource
resource
- the resource on which to execute a request.