Package | Description |
---|---|
com.teamdev.jxbrowser.cookie |
Contains classes that allow you to manage cookies.
|
Modifier and Type | Method and Description |
---|---|
Cookie.Builder |
Cookie.Builder.creationTime(Timestamp creationTime)
Sets the cookie creation time.
|
Cookie.Builder |
Cookie.Builder.domain(java.lang.String domain)
Sets the cookie domain.
|
Cookie.Builder |
Cookie.Builder.expirationTime(Timestamp expirationTime)
Sets the cookie expiration time.
|
Cookie.Builder |
Cookie.Builder.httpOnly(boolean httpOnly)
Specifies whether the cookie is considered HTTP only.
|
Cookie.Builder |
Cookie.Builder.name(java.lang.String name)
Sets the cookie name.
|
static Cookie.Builder |
Cookie.newBuilder()
Creates a new
Cookie builder. |
Cookie.Builder |
Cookie.Builder.path(java.lang.String path)
Sets the cookie path.
|
Cookie.Builder |
Cookie.Builder.sameSite(SameSite sameSite)
Sets the SameSite cookie attribute value that allows you to declare if your cookie should
be restricted to a first-party or same-site context.
|
Cookie.Builder |
Cookie.Builder.secure(boolean secure)
Specifies whether the cookie is restricted to a secure protocol (HTTPS or WSS) or it can
be sent using any protocol.
|
Cookie.Builder |
Cookie.Builder.value(java.lang.String value)
Sets the cookie value.
|