Class AtmosFileDownloadResult
- java.lang.Object
-
- org.apache.camel.component.atmos.dto.AtmosResult
-
- org.apache.camel.component.atmos.dto.AtmosFileDownloadResult
-
public class AtmosFileDownloadResult extends AtmosResult
-
-
Field Summary
-
Fields inherited from class org.apache.camel.component.atmos.dto.AtmosResult
resultEntries
-
-
Constructor Summary
Constructors Constructor Description AtmosFileDownloadResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
populateExchange(org.apache.camel.Exchange exchange)
Object payload contained in Exchange In case of a single file Exchange Header is populated with the name of the remote path downloaded In case of a multiple files Exchange Header is populated with the name of the remote paths downloaded In case of a single file Exchange Body is populated with the ByteArrayOutputStream downloaded from atmos.-
Methods inherited from class org.apache.camel.component.atmos.dto.AtmosResult
getResultEntries, setResultEntries
-
-
-
-
Method Detail
-
populateExchange
public void populateExchange(org.apache.camel.Exchange exchange)
Object payload contained in Exchange In case of a single file Exchange Header is populated with the name of the remote path downloaded In case of a multiple files Exchange Header is populated with the name of the remote paths downloaded In case of a single file Exchange Body is populated with the ByteArrayOutputStream downloaded from atmos. In case of multiple files Exchange Body is populated with a map containing as key the remote path and as value the linked ByteArrayOutputStream- Specified by:
populateExchange
in classAtmosResult
- Parameters:
exchange
-
-
-