Package google.registry.reporting.icann
Class IcannHttpReporter
java.lang.Object
google.registry.reporting.icann.IcannHttpReporter
Class that uploads a CSV file to ICANN's endpoint via an HTTP PUT call.
It uses basic authorization credentials as specified in the "Registry Interfaces" draft.
Note that there's a lot of hard-coded logic extracting parameters from the report filenames. These are safe, as long as they follow the tld-reportType-yearMonth.csv filename format.
- See Also:
-
Method Summary
-
Method Details
-
send
public boolean send(byte[] reportBytes, String reportFilename) throws GeneralSecurityException, IOException UploadsreportBytes
to ICANN, returning whether or not it succeeded.- Throws:
GeneralSecurityException
IOException
-