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