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

io.tiler.internal.config.ApiConfig Maven / Gradle / Ivy

There is a newer version: 0.1.28
Show newest version
package io.tiler.internal.config;

public class ApiConfig {
  private boolean readOnly;

  public ApiConfig(Boolean readOnly) {
    if (readOnly == null) {
      // Default to read-only to reduce the default attack surface
      readOnly = true;
    }

    this.readOnly = readOnly;
  }

  public ApiConfig() {
    this(null);
  }

  public boolean readOnly() {
    return readOnly;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy