public class CookieHelper extends Object
Constructor and Description |
---|
CookieHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addCookie(String name,
String value,
String path,
String domain,
String comment,
int maxAge,
boolean secure,
boolean httpOnly)
Set a response cookie.
|
public static void addCookie(String name, String value, String path, String domain, String comment, int maxAge, boolean secure, boolean httpOnly)
name
- value
- path
- domain
- comment
- maxAge
- secure
- httpOnly
- Copyright © 2016 JBoss by Red Hat. All rights reserved.