Interface ResponseWriter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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)
      Writes a collection of data set as an ODataResponse
      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)
      Writes a single data set as an ODataResponse
    • 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 an ODataResponse
        Parameters:
        itemLookupRequest - Parameter object containing the information for the write
        entitySet - Entity set the data belong to
        data - 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 write
        entitySet - Entity set the data belong to
        result - Collection of data to write
        Returns:
        ODataResponse
        Throws:
        org.apache.olingo.odata2.api.exception.ODataException