Package com.adaptris.aws2.s3.meta
Class S3ContentEncoding
java.lang.Object
com.adaptris.aws2.s3.meta.S3ObjectMetadata
com.adaptris.aws2.s3.meta.S3ContentEncoding
- All Implemented Interfaces:
Comparable<S3ObjectMetadata>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(AdaptrisMessage msg, Map<String, String> meta) @NonNull StringSets the optional Content-Encoding HTTP header specifying what content encodings have been applied to the object and what decoding mechanisms must be applied in order to obtain the media-type referenced by the Content-Type field.voidsetContentEncoding(@NonNull String contentEncoding) Sets the optional Content-Encoding HTTP header specifying what content encodings have been applied to the object and what decoding mechanisms must be applied in order to obtain the media-type referenced by the Content-Type field.Methods inherited from class com.adaptris.aws2.s3.meta.S3ObjectMetadata
compareTo
-
Constructor Details
-
S3ContentEncoding
public S3ContentEncoding()
-
-
Method Details
-
apply
- Specified by:
applyin classS3ObjectMetadata- Throws:
ServiceException
-
getContentEncoding
Sets the optional Content-Encoding HTTP header specifying what content encodings have been applied to the object and what decoding mechanisms must be applied in order to obtain the media-type referenced by the Content-Type field. -
setContentEncoding
Sets the optional Content-Encoding HTTP header specifying what content encodings have been applied to the object and what decoding mechanisms must be applied in order to obtain the media-type referenced by the Content-Type field.
-