class Builder
Builds a cookie. The name, value, and domain values must all be set before calling build.
Builder()
Builds a cookie. The name, value, and domain values must all be set before calling build. |
fun build(): Cookie |
|
fun domain(domain: String): Cookie.Builder
Set the domain pattern for this cookie. The cookie will match |
|
fun expiresAt(expiresAt: Long): Cookie.Builder |
|
fun hostOnlyDomain(domain: String): Cookie.Builder
Set the host-only domain for this cookie. The cookie will match |
|
fun httpOnly(): Cookie.Builder |
|
fun name(name: String): Cookie.Builder |
|
fun path(path: String): Cookie.Builder |
|
fun secure(): Cookie.Builder |
|
fun value(value: String): Cookie.Builder |