5 ms·
It’s not deprecated. As you say, it is needed to actually open a connection.
by layer8 7y ago
It’s not deprecated. As you say, it is needed to actually open a connection.
- oldgeek 7y agoI don't mean @deprecated. Just that the recommendation has been to use URI instead of URL wherever possible since URI was introduced. URL is not needed any longer with the new HttpClient stuff in java 11.