public class SimpleCookieManager extends CookieHandler
Cookies are keyed only by the host name in the URI. Cookie attributes like domain and path are ignored to simplify the implementation.
If we are running on Java 6 or later we should favor using the standard
java.net.CookieManager
class instead.
Constructor and Description |
---|
SimpleCookieManager() |
public Map<String,List<String>> get(URI uri, Map<String,List<String>> requestHeaders) throws IOException
get
in class CookieHandler
IOException
public void put(URI uri, Map<String,List<String>> responseHeaders) throws IOException
put
in class CookieHandler
IOException
Copyright © 2012. All Rights Reserved.