io.split.engine.common.FetchOptions Maven / Gradle / Ivy
package io.split.engine.common;
import io.split.engine.matchers.AttributeMatcher;
import org.checkerframework.checker.units.qual.A;
import java.util.Map;
import java.util.Objects;
import java.util.function.Function;
public class FetchOptions {
public static class Builder {
public Builder() {}
public Builder cacheControlHeaders(boolean on) {
_cacheControlHeaders = on;
return this;
}
public Builder fastlyDebugHeader(boolean on) {
_fastlyDebugHeader = on;
return this;
}
public Builder responseHeadersCallback(Function