public class SessionKt
| Modifier and Type | Method and Description |
|---|---|
static com.vaadin.ui.UI |
checkUIThread()
Checks that this thread runs with Vaadin UI set.
|
static com.vaadin.server.VaadinRequest |
getCurrentRequest() |
static com.vaadin.server.VaadinResponse |
getCurrentResponse() |
static void |
minusAssign(Cookies $receiver,
javax.servlet.http.Cookie cookie)
Allows you to remove a cookie:
Cookies -= Cookie("autologin", "secret") |
static void |
plusAssign(Cookies $receiver,
javax.servlet.http.Cookie cookie)
Allows you to add a cookie:
Cookies += Cookie("autologin", "secret") |
public static com.vaadin.server.VaadinRequest getCurrentRequest()
public static com.vaadin.server.VaadinResponse getCurrentResponse()
public static void plusAssign(Cookies $receiver, javax.servlet.http.Cookie cookie)
Allows you to add a cookie: Cookies += Cookie("autologin", "secret")
public static void minusAssign(Cookies $receiver, javax.servlet.http.Cookie cookie)
Allows you to remove a cookie: Cookies -= Cookie("autologin", "secret")
public static com.vaadin.ui.UI checkUIThread()
Checks that this thread runs with Vaadin UI set.