Use HTTPClient or HttpUrlConnection? [closed]

2020-06-03 09:48发布

We're implementing a REST client on JRE 1.4.

Seems two good options for a client REST framework are HttpClient and HttpUrlConnection.

Is there a reason to use HttpClient over the JRE's HttpUrlConnection?

7条回答
Emotional °昔
2楼-- · 2020-06-03 10:15

I'd go with the JRE version just so I would have one less dependency to ship around.

查看更多
登录 后发表回答