| java.lang.Object com.noelios.restlet.util.CookieUtils
CookieUtils | public class CookieUtils (Code) | | Cookie manipulation utilities.
author: Jerome Louvel (contact@noelios.com) |
format | public static String format(List<Cookie> cookies)(Code) | | Formats a list of cookies as an HTTP header.
Parameters: cookies - The list of cookies to format. The HTTP header. |
format | public static String format(CookieSetting cookieSetting)(Code) | | Formats a cookie setting.
Parameters: cookieSetting - The cookie setting to format. The formatted cookie setting. |
format | public static void format(CookieSetting cookieSetting, Appendable destination) throws IOException(Code) | | Formats a cookie setting.
Parameters: cookieSetting - The cookie setting to format. Parameters: destination - The appendable destination. |
format | public static String format(Cookie cookie)(Code) | | Formats a cookie.
Parameters: cookie - The cookie to format. The formatted cookie. |
format | public static void format(Cookie cookie, Appendable destination)(Code) | | Formats a cookie setting.
Parameters: cookie - The cookie to format. Parameters: destination - The appendable destination. |
getCookies | public static void getCookies(List<Cookie> source, Map<String, Cookie> destination)(Code) | | Gets the cookies whose name is a key in the given map. If a matching
cookie is found, its value is put in the map.
Parameters: source - The source list of cookies. Parameters: destination - The cookies map controlling the reading. |
|
|