|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.noelios.restlet.util.CookieUtils
public class CookieUtils
Cookie manipulation utilities.
Constructor Summary | |
---|---|
CookieUtils()
|
Method Summary | |
---|---|
static String |
format(Cookie cookie)
Formats a cookie. |
static void |
format(Cookie cookie,
Appendable destination)
Formats a cookie setting. |
static String |
format(CookieSetting cookieSetting)
Formats a cookie setting. |
static void |
format(CookieSetting cookieSetting,
Appendable destination)
Formats a cookie setting. |
static String |
format(List<Cookie> cookies)
Formats a list of cookies as an HTTP header. |
static void |
getCookies(List<Cookie> source,
Map<String,Cookie> destination)
Gets the cookies whose name is a key in the given map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CookieUtils()
Method Detail |
---|
public static String format(List<Cookie> cookies)
cookies
- The list of cookies to format.
public static String format(CookieSetting cookieSetting)
cookieSetting
- The cookie setting to format.
public static void format(CookieSetting cookieSetting, Appendable destination) throws IOException
cookieSetting
- The cookie setting to format.destination
- The appendable destination.
IOException
public static String format(Cookie cookie)
cookie
- The cookie to format.
public static void format(Cookie cookie, Appendable destination)
cookie
- The cookie to format.destination
- The appendable destination.public static void getCookies(List<Cookie> source, Map<String,Cookie> destination)
source
- The source list of cookies.destination
- The cookies map controlling the reading.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |