Class ThreadResponseData
java.lang.Object
fr.gouv.vitam.storage.engine.server.distribution.impl.ThreadResponseData
Response of thread storage
-
Constructor Summary
ConstructorDescriptionThreadResponseData
(StorageObjectResult putObjectResult, javax.ws.rs.core.Response.Status status, String objectGuid) Default constructorThreadResponseData
(javax.ws.rs.core.Response.Status status, String objectGuid) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response.Status
-
Constructor Details
-
ThreadResponseData
public ThreadResponseData(StorageObjectResult putObjectResult, javax.ws.rs.core.Response.Status status, String objectGuid) Default constructor- Parameters:
putObjectResult
- the resultstatus
- the statusobjectGuid
- the object guid
-
ThreadResponseData
-
-
Method Details
-
getResponse
- Returns:
- the transfer response
-
getStatus
public javax.ws.rs.core.Response.Status getStatus()- Returns:
- the transfer status
-
getObjectGuid
- Returns:
- the object GUID
-