Interface StorageRequestFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default StorageRequest create​(PersistenceParam param, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry)
      Creates new storage request
      StorageRequest create​(org.apache.olingo.odata2.api.processor.ODataContext oDataContext, java.lang.String responseContentType, org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry)
      Get the StorageRequest for persistence processing
    • Method Detail

      • create

        default StorageRequest create​(PersistenceParam param,
                                      org.apache.olingo.odata2.api.ep.entry.ODataEntry entry)
        Creates new storage request
        Parameters:
        param - parameters for the storage request
        entry - payload entry associated with the request
        Returns:
        new instance of the storage request
      • create

        StorageRequest create​(org.apache.olingo.odata2.api.processor.ODataContext oDataContext,
                              java.lang.String responseContentType,
                              org.apache.olingo.odata2.api.edm.EdmEntitySet entitySet,
                              org.apache.olingo.odata2.api.ep.entry.ODataEntry entry)
        Get the StorageRequest for persistence processing
        Parameters:
        oDataContext - The ODataContext to be used.
        responseContentType - contentType to use.
        entitySet - EdmEntitySet to use.
        entry - ODataEntry to use.
        Returns:
        The StorageRequest used for persistence