Examples of BucketAttributes


Examples of io.fathom.cloud.protobuf.FileModel.BucketAttributes

        if (user == null) {
            // Check that the container is public
            boolean allowed = false;

            if (bucket.hasBucketAttributes()) {
                BucketAttributes bucketAttributes = bucket.getBucketAttributes();
                if (bucketAttributes.hasAclRead()) {
                    StorageAcl acl = StorageAcl.parse(AclType.Read, bucketAttributes.getAclRead());

                    // TODO: Do we really care about referer?
                    String referer = "unknown";
                    // String referer = request.getHeader("Referer");
View Full Code Here

Examples of io.fathom.cloud.protobuf.FileModel.BucketAttributes

        // if (found.hasContentType()) {
        // response.header(HttpHeaders.CONTENT_TYPE, found.getContentType());
        // }

        if (found.hasBucketAttributes()) {
            BucketAttributes bucketAttributes = found.getBucketAttributes();
            if (bucketAttributes.hasAclRead()) {
                response.header(HEADER_ACL_READ, bucketAttributes.getAclRead());
            }
        }

        // X-Container-Meta-Web-Error
        // X-Container-Meta-Web-Index
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.