Class BatchUploadResponse
- java.lang.Object
-
- app.coronawarn.server.common.federation.client.upload.BatchUploadResponse
-
public class BatchUploadResponse extends Object
Multi-Status response from Upload. The payload returns three properties (201, 409 and 500) each property contains a list of indexes. The index refers to the key position on the ordered Diagnosis Keys from UploadPayload. 201 -> Successfully added DO NOTHING 409 -> Conflict: Key was already added DO NOTHING 500 -> Server Error: Key not processed RETRY
-
-
Constructor Summary
Constructors Constructor Description BatchUploadResponse()
Create an empty BatchUploadResponse.BatchUploadResponse(List<String> status409, List<String> status500, List<String> status201)
Create the BatchUploadResponse.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getStatus201()
List<String>
getStatus409()
List<String>
getStatus500()
String
toString()
-