All Known Implementing Classes:
DefaultResponseWriter

public interface ResponseWriter
  • Method Summary

    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, Map<String,Object> data)
    Writes a single data set as an ODataResponse
  • 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.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