Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
異なるスレッドで2つのWebClientを作成する場合、同じCookieを使用させるにはどうすればよいですか?
以下のコードを使用できます。
CookieManager cookieManager = new CookieManager(); webClient1.setCookieManager(cookieManager); webClient2.setCookieManager(cookieManager);