public class ZoneDownloadClient extends CzdsClient
clientConfiguration, objectMapper, token| Constructor and Description |
|---|
ZoneDownloadClient(ClientConfiguration clientConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
List<File> |
downloadApprovedZoneFiles() |
File |
downloadZoneFile(String zone) |
String |
getCzdsDownloadUrl()
REST endpoint to download zone files
|
String |
getZonefileOutputDirectory()
Directory where zone files will be saved
|
authenticateIfRequired, buildRequestEntity, getAuthenticationUrl, makeGetRequestpublic ZoneDownloadClient(ClientConfiguration clientConfiguration)
public String getCzdsDownloadUrl()
public String getZonefileOutputDirectory()
public List<File> downloadApprovedZoneFiles() throws AuthenticationException, IOException
AuthenticationExceptionIOExceptionpublic File downloadZoneFile(String zone) throws AuthenticationException, IOException
AuthenticationExceptionIOExceptionCopyright © 2019 ICANN. All rights reserved.