Class ObjectAclController

  • All Implemented Interfaces:

    @CrossOrigin(origins = {"*"}, exposedHeaders = {"*"})@Controller()@RequestMapping(value = {"${com.adobe.testing.s3mock.controller.contextPath:}"}) 
    public final class ObjectAclController
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final ResponseEntity<Void> putObjectAcl(@PathVariable() String bucketName, @PathVariable() ObjectKey key, @RequestHeader(value = "x-amz-acl", required = false) ObjectCannedACL cannedAcl, @RequestParam(value = "versionId", required = false) String versionId, @RequestBody(required = false) AccessControlPolicy body) Adds an ACL to an object, either from an AccessControlPolicy request body or from a canned ACL header.
      final ResponseEntity<AccessControlPolicy> getObjectAcl(@PathVariable() String bucketName, @PathVariable() ObjectKey key, @RequestParam(value = "versionId", required = false) String versionId) Gets ACL of an object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait