|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.util.http.CookieManager
An HTTP cookie manager.
| Constructor Summary | |
CookieManager()
Creates a new CookieManager. |
|
| Method Summary | |
void |
clear()
Removes all cookie information from this cookie manager. |
void |
clear(String hostName)
Removes all cookie information for the specified host from this cookie manager. |
void |
extractCookies(URLConnection urlConnection)
Extracts any cookies from the supplied URLConnection and stores them internally. |
void |
setCookies(URLConnection urlConnection)
Sets any cookies that are relevant for the supplied URLConnection. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CookieManager()
| Method Detail |
public void extractCookies(URLConnection urlConnection)
urlConnection - A URLConnection.public void setCookies(URLConnection urlConnection)
urlConnection - A URLConnection.public void clear()
public void clear(String hostName)
hostName - A server's host name.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||