Class S3ContentDisposition

java.lang.Object
com.adaptris.aws.s3.meta.S3ObjectMetadata
com.adaptris.aws.s3.meta.S3ContentDisposition
All Implemented Interfaces:
Comparable<S3ObjectMetadata>

public class S3ContentDisposition extends S3ObjectMetadata
  • Constructor Details

    • S3ContentDisposition

      public S3ContentDisposition()
  • Method Details

    • apply

      public void apply(AdaptrisMessage msg, com.amazonaws.services.s3.model.ObjectMetadata meta) throws ServiceException
      Specified by:
      apply in class S3ObjectMetadata
      Throws:
      ServiceException
    • getContentDisposition

      @NonNull public @NonNull String getContentDisposition()
      Sets the optional Content-Disposition HTTP header, which specifies presentational information such as the recommended filename for the object to be saved as.
    • setContentDisposition

      public void setContentDisposition(@NonNull @NonNull String contentDisposition)
      Sets the optional Content-Disposition HTTP header, which specifies presentational information such as the recommended filename for the object to be saved as.