Class DeleteUserGroup

    • Constructor Detail

      • DeleteUserGroup

        public DeleteUserGroup​(OslcClient client,
                               URI uri,
                               String eTag)
        Creates a request to delete a LQE group.
        Parameters:
        client - the OSLC client to connect to the application.
        uri - the group URL
        eTag - the ETag header obtained in the GetUserGroup response
    • Method Detail

      • call

        protected ClientResponse call​(OslcResource resource)
        Description copied from class: DeleteResource
        Executes a DELETE request on the resource.

        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.

        Overrides:
        call in class DeleteResource
        Parameters:
        resource - the resource on which to execute a request.
        Returns:
        the response of the request execution.