com.hubspot.chrome.devtools.client.core.network.CookieSameSite Maven / Gradle / Ivy
package com.hubspot.chrome.devtools.client.core.network;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Represents the cookie's 'SameSite' status:
* https://tools.ietf.org/html/draft-west-first-party-cookies
*/
public enum CookieSameSite {
STRICT("Strict"),
LAX("Lax");
private final String value;
CookieSameSite(String value) {
this.value= value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return value;
}
}