All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ionoscloud.s3.ServerSideEncryption Maven / Gradle / Ivy

The newest version!
package com.ionoscloud.s3;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

/** Base class of server-side encryption. */
public abstract class ServerSideEncryption {
  private static final Map emptyHeaders =
      Collections.unmodifiableMap(new HashMap<>());

  public abstract Map headers();

  public boolean tlsRequired() {
    return true;
  }

  public Map copySourceHeaders() {
    return emptyHeaders;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy