Interface StorageRequestFactory
-
- All Known Implementing Classes:
DefaultStorageRequestFactory
public interface StorageRequestFactoryA factory for creatingStorageRequestinstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StorageRequestcreate(PersistenceParam param, org.apache.olingo.odata2.api.ep.entry.ODataEntry entry)Creates new storage requestStorageRequestcreate(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 requestentry- 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
-
-