public final class CookieUtil extends Object
Cookie
.Modifier and Type | Field and Description |
---|---|
static String |
HTTP_ONLY_ATTR
Attribute name used to tag a
BasicClientCookie as httpOnly. |
Modifier and Type | Method and Description |
---|---|
static String |
encodeCookie(org.apache.http.cookie.Cookie cookie)
Utility method to transform a Cookie into a Set-Cookie Header.
|
public static final String HTTP_ONLY_ATTR
BasicClientCookie
as httpOnly.public static String encodeCookie(org.apache.http.cookie.Cookie cookie)
cookie
- the Cookie
to formatCopyright © 2008–2018. All rights reserved.