Class DefaultResponseWriter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected ResponseWriterPropertyPopulatorRegistry getPopulatorRegistry()  
      void setPopulatorRegistry​(ResponseWriterPropertyPopulatorRegistry populatorRegistry)  
      org.apache.olingo.odata2.api.processor.ODataResponse write​(ItemLookupRequest request, 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
      protected org.apache.olingo.odata2.api.processor.ODataResponse write​(java.lang.String contentType, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> feeds, org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties properties)  
      protected org.apache.olingo.odata2.api.processor.ODataResponse write​(java.lang.String contentType, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, java.util.Map<java.lang.String,​java.lang.Object> data, org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties writeProperties)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultResponseWriter

        public DefaultResponseWriter()
    • Method Detail

      • write

        public 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
        Description copied from interface: ResponseWriter
        Writes a single data set as an ODataResponse
        Specified by:
        write in interface ResponseWriter
        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

        public org.apache.olingo.odata2.api.processor.ODataResponse write​(ItemLookupRequest request,
                                                                          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
        Description copied from interface: ResponseWriter
        Writes a collection of data set as an ODataResponse
        Specified by:
        write in interface ResponseWriter
        Parameters:
        request - 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
      • write

        protected org.apache.olingo.odata2.api.processor.ODataResponse write​(java.lang.String contentType,
                                                                             org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet,
                                                                             java.util.Map<java.lang.String,​java.lang.Object> data,
                                                                             org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties writeProperties)
                                                                      throws org.apache.olingo.odata2.api.ep.EntityProviderException
        Throws:
        org.apache.olingo.odata2.api.ep.EntityProviderException
      • write

        protected org.apache.olingo.odata2.api.processor.ODataResponse write​(java.lang.String contentType,
                                                                             org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet,
                                                                             java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> feeds,
                                                                             org.apache.olingo.odata2.api.ep.EntityProviderWriteProperties properties)
                                                                      throws org.apache.olingo.odata2.api.ep.EntityProviderException
        Throws:
        org.apache.olingo.odata2.api.ep.EntityProviderException