Class PresignedUpload
java.lang.Object
io.micronaut.objectstorage.response.PresignedUpload
A complete pre-signed HTTP request that can upload a single object.
- Since:
- 3.0.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PresignedUpload
public PresignedUpload(@NonNull URI uri, @NonNull String method, @NonNull Map<String, List<String>> headers, @NonNull Instant expiration) - Parameters:
uri- the signed target URImethod- the HTTP method the caller must useheaders- the required request headersexpiration- the point in time when this request expires
-
-
Method Details
-
getUri
- Returns:
- the signed target URI
-
getMethod
- Returns:
- the HTTP method the caller must use
-
getHeaders
-
getExpiration
- Returns:
- when the signed request expires
-