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 CookieHandlerIOExceptionpublic void put(URI uri, Map<String,List<String>> responseHeaders) throws IOException
put in class CookieHandlerIOExceptionCopyright © 2013. All Rights Reserved.