public interface MediaPersistenceService
| Modifier and Type | Method and Description |
|---|---|
<T extends IntegrationApiMediaModel> |
persistMedias(java.util.List<java.io.InputStream> payloads,
java.lang.Class<T> mediaType)
Persists the payloads.
|
<T extends IntegrationApiMediaModel> java.util.List<T> persistMedias(java.util.List<java.io.InputStream> payloads, java.lang.Class<T> mediaType)
payloads - request payloads to be persistedmediaType - implementation type to use for the generated mediaspayloads.
Number of medias returned is equal to number of payload input streams passed in.
If certain medias failed to persist, there will be null in the corresponding place of the returned
list.Copyright © 2018 SAP SE. All Rights Reserved.