|
jCookie v0.8b | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface definition for cookie-parsing and specification implementations.
Client.setCookieParser(CookieParser)
Method Summary | |
boolean |
allowedCookie(Cookie c,
URL url)
Checks whether a request to the given URL is allowed to return the specified Cookie. |
Header |
getCookieHeaders(CookieJar cj)
Converts the Cookie s in the CookieJar
to a set of headers suitable to be sent along with an HTTP request. |
CookieJar |
parseCookies(Header h,
URL url)
Converts the headers in an HTTP response into a CookieJar
of Cookie objects. |
boolean |
sendCookieWithURL(Cookie c,
URL url,
boolean bRespectExpires)
Checks whether the given Cookie can be sent alongwith a request for the given URL. |
Method Detail |
public Header getCookieHeaders(CookieJar cj)
Cookie
s in the CookieJar
to a set of headers suitable to be sent along with an HTTP request.public boolean allowedCookie(Cookie c, URL url)
public CookieJar parseCookies(Header h, URL url) throws MalformedCookieException
CookieJar
of Cookie
objects.public boolean sendCookieWithURL(Cookie c, URL url, boolean bRespectExpires)
|
Copyright (c) 2001-2002 Sonal Bansal | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |