JDK1.9有实现HTTP2 Client吗?在哪个类里面

阅读 2.5k
1 个回答

Define a new HTTP client API that implements HTTP/2 and WebSocket, and can
replace the legacy HttpURLConnection API. The API will be delivered as an
incubator module, as defined in JEP 11, with JDK 9. This implies:
The API and implementation will not be part of Java SE.
The API will live under the jdk.incubtor namespace.
The module will not resolve by default at compile or run time.

JDK9的文档里说了

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题