| Package | Description |
|---|---|
| com.pingidentity.pa.sdk.http |
| Modifier and Type | Method and Description |
|---|---|
SetCookie |
SetCookie.domain(String domain)
Sets the domain
|
SetCookie |
SetCookie.expired()
Expires the cookie
|
SetCookie |
SetCookie.expiresAt(Instant expiresAt)
Sets the cookie's expiresAt value, overriding any set previously via
expiresAtRawStr(String). |
SetCookie |
SetCookie.expiresAtRawStr(String expiresAtRawStr)
Sets the cookie's expiresAt value to the specified raw date/time string.
|
SetCookie |
SetCookie.httpOnly()
Sets the HttpOnly flag to true
|
SetCookie |
SetCookie.httpOnly(boolean httpOnly)
Sets the HttpOnly flag
|
SetCookie |
SetCookie.maxAge(long duration,
TimeUnit unit)
Sets the cookie's MaxAge
The duration value has second granularity
|
SetCookie |
SetCookie.name(String name)
Sets the Name
|
SetCookie |
SetCookie.path(String path)
Sets the path
|
SetCookie |
SetCookie.sameSite(String sameSite)
Sets the SameSite cookie attribute value
|
SetCookie |
SetCookie.secure()
Sets the Secure flag to true
|
SetCookie |
SetCookie.secure(boolean secure)
Sets the Secure flag
|
SetCookie |
SetCookie.value(String value)
Sets the value
|
Copyright 2023 Ping Identity Corp. All rights reserved.