### Cookie Handler and Manager

Play around with Cookies. This has not been explored yet further.
' CookieManager
' Reference: http://docs.oracle.com/javase/8/docs/api/java/net/CookieManager.html
Dim joCookieManager As JavaObject
' Create a new cookie manager
joCookieManager.InitializeNewInstance("java.net.CookieManager", Null)
' CookieStore
' http://docs.oracle.com/javase/8/docs/api/java/net/CookieStore.html
Dim joCookieStore As JavaObject
joCookieStore = joCookieManager.RunMethod("getCookieStore", Null)
Log(joCookieStore.RunMethod("getURIs", Null))
Log(joCookieStore.RunMethod("getCookies", Null))
'joCookieStore.RunMethod("removeAll", Null)
' CookieHandler
' Reference: http://docs.oracle.com/javase/8/docs/api/java/net/CookieHandler.html
Dim joCookieHandler As JavaObject
joCookieHandler.InitializeStatic("java.net.CookieHandler").RunMethod("setDefault", joCookieManager)

Changed: , Category: Internet, File: T6C203M1488.htm, ID: 1488