Java, let CookieHandler work on only one instance.

Posted by user435657 on Stack Overflow See other posts from Stack Overflow or by user435657
Published on 2010-12-28T02:50:31Z Indexed on 2010/12/28 2:53 UTC
Read the original article Hit count: 206

Filed under:
|
|

Hi all, I don't know how CookieHandler works system wide, I did view the source of CookieHandler but found no more information except the get/set methods. Where do TCP/HTTP connections use instance of CookieHandler, which I set by

CookieHandler.setDefault(...)

Which source file I should refer to? URLConnection & HttpURLConnection don't seem have things to do with it.

Help, thanks in advance.

© Stack Overflow or respective owner

Related posts about java

Related posts about cookies