io.tiler.internal.config.ApiConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tiler Show documentation
Show all versions of tiler Show documentation
Plugable dashboard framework
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;
}
}