Class S3ContentEncoding

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

public class S3ContentEncoding extends S3ObjectMetadata
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    @NonNull String
    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 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • S3ContentEncoding

      public S3ContentEncoding()
  • Method Details

    • apply

      public void apply(AdaptrisMessage msg, Map<String,String> meta) throws ServiceException
      Specified by:
      apply in class S3ObjectMetadata
      Throws:
      ServiceException
    • getContentEncoding

      @NonNull public @NonNull 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 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.