Class GetServiceProviderCatalog

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

public class GetServiceProviderCatalog extends GetResource<ServiceProviderCatalog>
Executes a GET request to read a ServiceProviderCatalog instance.

The catalog URI is usually to extract form a RootServices and depend on the desired OSLC domain.

Since:
1.1.0
See Also:
  • Constructor Details

    • GetServiceProviderCatalog

      public GetServiceProviderCatalog(OslcClient client, URI uri)
  • Method Details

    • createResponse

      protected ResourceResponse<ServiceProviderCatalog> 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<ServiceProviderCatalog>
      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.