Package com.adaptris.aws.s3.meta
Class S3ContentEncoding
- java.lang.Object
-
- com.adaptris.aws.s3.meta.S3ObjectMetadata
-
- com.adaptris.aws.s3.meta.S3ContentEncoding
-
- All Implemented Interfaces:
java.lang.Comparable<S3ObjectMetadata>
public class S3ContentEncoding extends S3ObjectMetadata
-
-
Constructor Summary
Constructors Constructor Description S3ContentEncoding()
-
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
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.void
setContentEncoding(@NonNull java.lang.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.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
-
getContentEncoding
@NonNull public @NonNull java.lang.String 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
public void setContentEncoding(@NonNull @NonNull java.lang.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.
-
-