Class GetUserGroup

All Implemented Interfaces:
ResourceRequest<ResourceResponse<UserGroup>>, Callable<ResourceResponse<UserGroup>>

public class GetUserGroup extends GetResource<UserGroup>
Gets the definition of a user group.
Since:
1.11.0
  • Constructor Details

    • GetUserGroup

      public GetUserGroup(OslcClient client, URI uri)
      Creates a request to get the definition of a LQE user group.
      Parameters:
      client - the OSLC client to connect to the application.
      uri - the user group URL
  • Method Details

    • createResponse

      protected ResourceResponse<UserGroup> createResponse(OslcResource resource, ClientResponse response)
      Description copied from class: GetResource
      Extracts a 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.
      Overrides:
      createResponse in class GetResource<UserGroup>
      Parameters:
      resource - the resource on which a request is executed.
      response - the response obtained.
      Returns:
      the extraction of the response content into the expected format.