|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonalb.net.http.cookie.CookieUtils
public final class CookieUtils
Provides utility functions for internal consumption.
Constructor Summary | |
---|---|
CookieUtils()
|
Method Summary | |
---|---|
static CookieJar |
getCookiesForURL(CookieJar cj,
CookieParser cp,
java.net.URL url,
boolean bRespectExpires)
Picks out the Cookie s in a CookieJar that are eligible
to be sent with a request to a particular URL . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CookieUtils()
Method Detail |
---|
public static CookieJar getCookiesForURL(CookieJar cj, CookieParser cp, java.net.URL url, boolean bRespectExpires)
Cookie
s in a CookieJar
that are eligible
to be sent with a request to a particular URL
.
cj
- the CookieJar holding the Cookiescp
- the CookieParser which determines whether each Cookie can be sent with given URLurl
- the URL for which Cookies have to be picked outbRespectExpires
- whether the lifetime of the Cookies should be taken into consideration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |