org.apache.catalina.util
Class CookieTools
java.lang.Object
org.apache.catalina.util.CookieTools
public class CookieTools
extends java.lang.Object
Cookie utils - generate cookie header, etc
- Original Author Unknown
- duncan@eng.sun.com
static String | getCookieHeaderName(Cookie cookie) - Return the header name to set the cookie, based on cookie
version
|
static String | getCookieHeaderValue(Cookie cookie) - Use StringBuffer version
|
static void | getCookieHeaderValue(Cookie cookie, StringBuffer buf) - Return the header value used to set this cookie
|
getCookieHeaderName
public static String getCookieHeaderName(Cookie cookie)
Return the header name to set the cookie, based on cookie
version
getCookieHeaderValue
public static String getCookieHeaderValue(Cookie cookie)
Use StringBuffer version
Return the header value used to set this cookie
getCookieHeaderValue
public static void getCookieHeaderValue(Cookie cookie,
StringBuffer buf)
Return the header value used to set this cookie
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.