Package com.adaptris.aws.s3.meta
Class S3ContentDisposition
java.lang.Object
com.adaptris.aws.s3.meta.S3ObjectMetadata
com.adaptris.aws.s3.meta.S3ContentDisposition
- All Implemented Interfaces:
Comparable<S3ObjectMetadata>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(AdaptrisMessage msg, com.amazonaws.services.s3.model.ObjectMetadata meta) @NonNull StringSets the optional Content-Disposition HTTP header, which specifies presentational information such as the recommended filename for the object to be saved as.voidsetContentDisposition(@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.Methods inherited from class com.adaptris.aws.s3.meta.S3ObjectMetadata
compareTo
-
Constructor Details
-
S3ContentDisposition
public S3ContentDisposition()
-
-
Method Details
-
apply
public void apply(AdaptrisMessage msg, com.amazonaws.services.s3.model.ObjectMetadata meta) throws ServiceException - Specified by:
applyin classS3ObjectMetadata- Throws:
ServiceException
-
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
Sets the optional Content-Disposition HTTP header, which specifies presentational information such as the recommended filename for the object to be saved as.
-