Class S3ServiceImpl

    • Field Detail

      • partSize

        protected int partSize
        Deprecated.
    • Constructor Detail

      • S3ServiceImpl

        public S3ServiceImpl()
        Deprecated.
    • Method Detail

      • setPartSize

        public void setPartSize​(int partSize)
        Deprecated.
      • getS3Client

        protected com.amazonaws.services.s3.AmazonS3 getS3Client​(org.craftercms.commons.config.profiles.aws.S3Profile profile)
        Deprecated.
      • uploadFile

        public S3Output uploadFile​(String site,
                                   String profileId,
                                   String filename,
                                   InputStream content)
                            throws AwsException
        Deprecated.
        Description copied from interface: S3Service
        Requests the file upload using the specified S3Profile.
        Specified by:
        uploadFile in interface S3Service
        Parameters:
        site - the site
        profileId - the id of the S3Profile to use.
        filename - the name of the file to upload
        content - the file itself
        Returns:
        metadata of an AWS S3 upload
        Throws:
        AwsException - if an error occurs