public class CookieUtil extends Object
| Constructor and Description |
|---|
CookieUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Optional<String> |
getCookie(javax.servlet.http.HttpServletRequest request,
String name)
Returns the cookie value with the given name.
|
static void |
setCookie(javax.servlet.http.HttpServletResponse response,
String name,
String value)
Creates a new cookie.
|
Copyright © 2019. All rights reserved.