|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CookieParser
Interface definition for cookie-parsing and specification implementations.
Client.setCookieParser(CookieParser)
Method Summary | |
---|---|
boolean |
allowedCookie(Cookie c,
java.net.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,
java.net.URL url)
Converts the headers in an HTTP response into a CookieJar
of Cookie objects. |
boolean |
sendCookieWithURL(Cookie c,
java.net.URL url,
boolean bRespectExpires)
Checks whether the given Cookie can be sent alongwith a request for the given URL. |
Method Detail |
---|
Header getCookieHeaders(CookieJar cj)
Cookie
s in the CookieJar
to a set of headers suitable to be sent along with an HTTP request.
boolean allowedCookie(Cookie c, java.net.URL url)
CookieJar parseCookies(Header h, java.net.URL url) throws MalformedCookieException
CookieJar
of Cookie
objects.
MalformedCookieException
boolean sendCookieWithURL(Cookie c, java.net.URL url, boolean bRespectExpires)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |