Interface ResponseWriter
-
- All Known Implementing Classes:
DefaultResponseWriter
public interface ResponseWriter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.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, java.util.Map<java.lang.String,java.lang.Object> data)Writes a single data set as anODataResponse
-
-
-
Method Detail
-
write
org.apache.olingo.odata2.api.processor.ODataResponse write(ItemLookupRequest itemLookupRequest, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, java.util.Map<java.lang.String,java.lang.Object> data) throws org.apache.olingo.odata2.api.exception.ODataException
Writes 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
-
-