CSJCurrent en:V5.0.2: Unterschied zwischen den Versionen
Aus Cryptshare Documentation
(Added page) |
(Added method name.) |
||
| Zeile 2: | Zeile 2: | ||
== Receive Pre-Processing Output == | == Receive Pre-Processing Output == | ||
Starting with Cryptshare Server [[CSSCurrent_en:Update_from_v5.2.0_to_v5.3.0|version 5.3.0]], the captured pre-processing output introduced in [[CSSCurrent_en:Update_from_v5.1.0_to_v5.2.0|version 5.2.0]] is made available to the API. | Starting with Cryptshare Server [[CSSCurrent_en:Update_from_v5.2.0_to_v5.3.0|version 5.3.0]], the captured pre-processing output introduced in [[CSSCurrent_en:Update_from_v5.1.0_to_v5.2.0|version 5.2.0]] is made available to the API. | ||
To access the output, use the <code>TransferError</code> object that is provided by the <code>IUploadCompleteHandler</code>: | To access the output, use <code>getPreprocessingOutput()</code> of the <code>TransferError</code> object that is provided by the <code>IUploadCompleteHandler</code>: | ||
public void uploadComplete(Map<String, String> urlMappings, Map<String, String> smtpMappings, String serverGenPassword, | public void uploadComplete(Map<String, String> urlMappings, Map<String, String> smtpMappings, String serverGenPassword, | ||
Version vom 1. September 2022, 09:00 Uhr
New Features
Receive Pre-Processing Output
Starting with Cryptshare Server version 5.3.0, the captured pre-processing output introduced in version 5.2.0 is made available to the API.
To access the output, use getPreprocessingOutput() of the TransferError object that is provided by the IUploadCompleteHandler:
public void uploadComplete(Map<String, String> urlMappings, Map<String, String> smtpMappings, String serverGenPassword,
TransferError transferError, String trackingId) {
System.out.println("Upload complete!");
transferError.getPreProcessingOutputs().forEach(info -> {
System.out.println("Output for file '" + info.getTransferFileName() + "':");
System.out.println(info.getPreProcessingOutput());
});
}
For more information about how to configure pre-processing output, see the corresponding section in the Cryptshare Server manual.
Additional Changes
- Several third-party libraries have been updated.
- A typo in an error message has been fixed.