public static class Http.Cookie
extends java.lang.Object
Constructor and Description |
---|
Cookie(java.lang.String name,
java.lang.String value,
java.lang.Integer maxAge,
java.lang.String path,
java.lang.String domain,
boolean secure,
boolean httpOnly) |
Modifier and Type | Method and Description |
---|---|
static Http.CookieBuilder |
builder(java.lang.String name,
java.lang.String value) |
java.lang.String |
domain() |
boolean |
httpOnly() |
java.lang.Integer |
maxAge() |
java.lang.String |
name() |
java.lang.String |
path() |
boolean |
secure() |
java.lang.String |
value() |
public Cookie(java.lang.String name, java.lang.String value, java.lang.Integer maxAge, java.lang.String path, java.lang.String domain, boolean secure, boolean httpOnly)
public static Http.CookieBuilder builder(java.lang.String name, java.lang.String value)
name
- the cookie builder namevalue
- the cookie builder valuepublic java.lang.String name()
public java.lang.String value()
public java.lang.Integer maxAge()
public java.lang.String path()
public java.lang.String domain()
public boolean secure()
public boolean httpOnly()