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:
java.lang.Comparable<S3ObjectMetadata>
public class S3ContentDisposition extends S3ObjectMetadata
-
-
Constructor Summary
Constructors Constructor Description S3ContentDisposition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(AdaptrisMessage msg, com.amazonaws.services.s3.model.ObjectMetadata meta)
@NonNull java.lang.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.void
setContentDisposition(@NonNull java.lang.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
-
-
-
-
Method Detail
-
apply
public void apply(AdaptrisMessage msg, com.amazonaws.services.s3.model.ObjectMetadata meta) throws ServiceException
- Specified by:
apply
in classS3ObjectMetadata
- Throws:
ServiceException
-
getContentDisposition
@NonNull public @NonNull java.lang.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 java.lang.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.
-
-