//okhttp/okhttp3/Cookie/Builder
Builder¶
[jvm]\ class Builder
Builds a cookie. The name, value, and domain values must all be set before calling build.
Constructors¶
Builder | [jvm] fun Builder() |
Functions¶
Name | Summary |
---|---|
build | [jvm] fun build(): Cookie |
domain | [jvm] fun domain(domain: String): Cookie.Builder Set the domain pattern for this cookie. The cookie will match domain and all of its subdomains. |
expiresAt | [jvm] fun expiresAt(expiresAt: Long): Cookie.Builder |
hostOnlyDomain | [jvm] fun hostOnlyDomain(domain: String): Cookie.Builder Set the host-only domain for this cookie. The cookie will match domain but none of its subdomains. |
httpOnly | [jvm] fun httpOnly(): Cookie.Builder |
name | [jvm] fun name(name: String): Cookie.Builder |
path | [jvm] fun path(path: String): Cookie.Builder |
secure | [jvm] fun secure(): Cookie.Builder |
value | [jvm] fun value(value: String): Cookie.Builder |