Package com.adobe.testing.s3mock.dto
Class ObjectKey
java.lang.Object
com.adobe.testing.s3mock.dto.ObjectKey
Key request value object.
Removes the trailing slash extracted from paths by Spring.
Used in conjunction with the PathVariable extracted by using "{*key}" in the path pattern.
See
PathPattern
Example path pattern: "/{bucketName:.+}/{*key}"
Example incoming path: "/my-bucket/prefix/before/my/key"
By declaring "{*key}", Spring extracts the absolute path "/prefix/before/my/key", but in S3, all
keys within a bucket are relative to the bucket, in this example "prefix/before/my/key".-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ObjectKey
-
-
Method Details
-
getKey
-