jetty reactive httpclient:码头ReactiveStreams HttpClient 源码

offensive5158 14 0 ZIP 2021-04-25 07:04:30

码头ReactiveStream HttpClient 围绕的包装器。 版本号 1.1.x - > Java的8,码头9.4.x 2.0.x - > Java的11,码头10.0.x 3.0.x > Java 11,Jetty 11.0.x 用法 普通ReactiveStreams的使用 // Create and start Jetty's HttpClient. HttpClient httpClient = new HttpClient (); client . start(); // Create a request using the HttpClient APIs. Request request = httpClient . newRequest( " http://localhost:8080/path " ); // Wrap the request using the

用户评论
请输入评论内容
评分:
暂无评论