Class DefaultUploadResponse<R>
java.lang.Object
io.micronaut.objectstorage.response.DefaultUploadResponse<R>
- Type Parameters:
R
- Cloud vendor-specific upload response
- All Implemented Interfaces:
UploadResponse<R>
Default implementation of
UploadResponse
.-
Constructor Summary
ModifierConstructorDescriptionprotected
DefaultUploadResponse
(String key, String eTag, R nativeResponse) -
Method Summary
-
Constructor Details
-
DefaultUploadResponse
-
-
Method Details
-
getKey
- Specified by:
getKey
in interfaceUploadResponse<R>
- Returns:
- The key under which the object was stored.
-
getETag
- Specified by:
getETag
in interfaceUploadResponse<R>
- Returns:
- the entity tag of the object stored (an identifier for a specific version of the object).
-
getNativeResponse
- Specified by:
getNativeResponse
in interfaceUploadResponse<R>
- Returns:
- Cloud vendor-specific upload response
-