(
String name,
BytesValue value,
@Nullable String domain,
@Nullable String path,
@Nullable Long size,
boolean isSecure,
boolean httpOnly,
@Nullable SameSite sameSite,
Optional<Long> expiry)
| 66 | private final Optional<Long> expiry; |
| 67 | |
| 68 | public Cookie( |
| 69 | String name, |
| 70 | BytesValue value, |
| 71 | @Nullable String domain, |
| 72 | @Nullable String path, |
| 73 | @Nullable Long size, |
| 74 | boolean isSecure, |
| 75 | boolean httpOnly, |
| 76 | @Nullable SameSite sameSite, |
| 77 | Optional<Long> expiry) { |
| 78 | this.name = name; |
| 79 | this.value = value; |
| 80 | this.domain = domain; |
| 81 | this.path = path; |
| 82 | this.size = size; |
| 83 | this.isSecure = isSecure; |
| 84 | this.isHttpOnly = httpOnly; |
| 85 | this.sameSite = sameSite; |
| 86 | this.expiry = expiry; |
| 87 | } |
| 88 | |
| 89 | public static Cookie fromJson(JsonInput input) { |
| 90 | String name = null; |
nothing calls this directly
no outgoing calls
no test coverage detected