io.split.engine.common.FastlyHeadersCaptor Maven / Gradle / Ivy
The newest version!
package io.split.engine.common;
import java.util.*;
import java.util.stream.Collectors;
public class FastlyHeadersCaptor {
private static final Set HEADERS_TO_CAPTURE = new HashSet<>(Arrays.asList(
"Fastly-Debug-Path",
"Fastly-Debug-TTL",
"Fastly-Debug-Digest",
"X-Served-By",
"X-Cache",
"X-Cache-Hits",
"X-Timer",
"Surrogate-Key",
"ETag",
"Cache-Control",
"X-Request-ID",
"Last-Modified"
));
private final List