@Component public class DownloaderWebClient extends DataBridgeWebClient
DEFAULT_ACCEPT, DEFAULT_CONTENT_TYPE, HERD_APP_REST_URI_PREFIX, herdStringHelper, httpClientOperations, regServerAccessParamsDto| Constructor and Description |
|---|
DownloaderWebClient() |
| Modifier and Type | Method and Description |
|---|---|
BusinessObjectData |
getBusinessObjectData(DownloaderInputManifestDto manifest)
Retrieves business object data from the herd registration server.
|
S3KeyPrefixInformation |
getS3KeyPrefix(BusinessObjectData businessObjectData)
Retrieves S3 key prefix from the herd registration server.
|
StorageUnitDownloadCredential |
getStorageUnitDownloadCredential(DownloaderInputManifestDto manifest,
String storageName)
Gets the storage unit download credentials.
|
addStorageFiles, getAuthorizationHeader, getBusinessObjectData, getBusinessObjectDataStorageFilesCreateResponse, getRegServerAccessParamsDto, getS3KeyPrefix, getStorage, getUriScheme, preRegisterBusinessObjectData, processXmlHttpResponse, setRegServerAccessParamsDto, updateBusinessObjectDataStatuspublic S3KeyPrefixInformation getS3KeyPrefix(BusinessObjectData businessObjectData) throws IOException, JAXBException, URISyntaxException
businessObjectData - the business object dataJAXBException - if a JAXB error was encountered.IOException - if an I/O error was encountered.URISyntaxException - if a URI syntax error was encountered.public BusinessObjectData getBusinessObjectData(DownloaderInputManifestDto manifest) throws IOException, JAXBException, URISyntaxException
manifest - the downloader input manifest file informationJAXBException - if a JAXB error was encountered.IOException - if an I/O error was encountered.URISyntaxException - if a URI syntax error was encountered.public StorageUnitDownloadCredential getStorageUnitDownloadCredential(DownloaderInputManifestDto manifest, String storageName) throws URISyntaxException, IOException, JAXBException
manifest - The manifeststorageName - The storage nameURISyntaxException - When error occurs while URI creationIOException - When error occurs communicating with serverJAXBException - When error occurs parsing XMLCopyright © 2017. All rights reserved.