org.encog.util.http
public class CookieUtility extends Object
Constructor and Description |
---|
CookieUtility() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getMap()
Allows access to the name/value pair list of cookies.
|
void |
loadCookies(URLConnection http)
Load any cookies from the specified URLConnection object.
|
void |
saveCookies(URLConnection http)
Once you have loaded cookies with loadCookies, you can call saveCookies
to copy these cookies to a new HTTP request.
|
public Map<String,String> getMap()
public void loadCookies(URLConnection http)
http
- The URLConnection object to load the cookies from.public void saveCookies(URLConnection http)
http
- The URLConnection object to add cookies to.Copyright © 2014. All Rights Reserved.