de.pangaea.metadataportal.utils
Class SimpleCookieHandler
java.lang.Object
java.net.CookieHandler
de.pangaea.metadataportal.utils.SimpleCookieHandler
public final class SimpleCookieHandler
- extends CookieHandler
- Author:
- Uwe Schindler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final SimpleCookieHandler INSTANCE
- Singleton instance of this class. Should be set with
CookieHandler.setDefault(java.net.CookieHandler) as default.
enable
public void enable()
- Resets all recorded cookies for the current thread. This method is called from
Harvester.open(de.pangaea.metadataportal.config.SingleIndexConfig) to have an empty cookie list.
disable
public void disable()
put
public void put(URI uri,
Map<String,List<String>> responseHeaders)
- Specified by:
put in class CookieHandler
get
public Map<String,List<String>> get(URI uri,
Map<String,List<String>> requestHeaders)
- Specified by:
get in class CookieHandler
Copyright ©2007-2011 panFMP Developers c/o Uwe Schindler