Interface ResponseWriter
- All Known Implementing Classes:
DefaultResponseWriter
public interface ResponseWriter
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.olingo.odata2.api.processor.ODataResponsewrite(ItemLookupRequest itemLookupRequest, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, ItemLookupResult<org.apache.olingo.odata2.api.ep.entry.ODataEntry> result) Writes a collection of data set as an ODataResponseorg.apache.olingo.odata2.api.processor.ODataResponsewrite(ItemLookupRequest itemLookupRequest, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, Map<String, Object> data) Writes a single data set as anODataResponse
-
Method Details
-
write
org.apache.olingo.odata2.api.processor.ODataResponse write(ItemLookupRequest itemLookupRequest, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, Map<String, Object> data) throws org.apache.olingo.odata2.api.exception.ODataExceptionWrites a single data set as anODataResponse- Parameters:
itemLookupRequest- Parameter object containing the information for the writeentitySet- Entity set the data belong todata- Data to write- Returns:
- ODataResponse
- Throws:
org.apache.olingo.odata2.api.exception.ODataException
-
write
org.apache.olingo.odata2.api.processor.ODataResponse write(ItemLookupRequest itemLookupRequest, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, ItemLookupResult<org.apache.olingo.odata2.api.ep.entry.ODataEntry> result) throws org.apache.olingo.odata2.api.exception.ODataException Writes a collection of data set as an ODataResponse- Parameters:
itemLookupRequest- Parameter object containing the information for the writeentitySet- Entity set the data belong toresult- Collection of data to write- Returns:
- ODataResponse
- Throws:
org.apache.olingo.odata2.api.exception.ODataException
-