Interface ResponseEntityExtractor

All Known Implementing Classes:
DefaultResponseEntityExtractor

public interface ResponseEntityExtractor
Extracts entities contained an OData response.
  • Method Summary

    Modifier and Type
    Method
    Description
    extractFrom(org.apache.olingo.odata2.api.processor.ODataResponse response)
    Extracts entities returned back in an OData response.
  • Method Details

    • extractFrom

      List<ResponseChangeSetEntity> extractFrom(org.apache.olingo.odata2.api.processor.ODataResponse response)
      Extracts entities returned back in an OData response. A single response may contain one ore more entities, that were persisted.
      Parameters:
      response - a response to extract entities from
      Returns:
      a collection of extracted response entities. A valid response should have at least one response entity.