Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
layer8
· 6y ago · 0 comments
It’s not deprecated. As you say, it is needed to actually open a connection.
Comments
[–]
oldgeek
6y ago
I 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.