Is Java's URL
class a thread-safe, in particular URL.openConnection()
?
In my application, I make tens of concurrent HTTPS connections a second to the same URL, and I would like to maximize object reuse. Yet, it's not clear from the documentation what can be reused.
EDIT: I'm open to using a different library if needed.