Interface ResponseEntityExtractor
-
- All Known Implementing Classes:
DefaultResponseEntityExtractor
public interface ResponseEntityExtractorExtracts entities contained an OData response.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ResponseChangeSetEntity>extractFrom(org.apache.olingo.odata2.api.processor.ODataResponse response)Extracts entities returned back in an OData response.
-
-
-
Method Detail
-
extractFrom
java.util.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.
-
-