开发者

Using HTTP Pipelining with Jetty HTTPClient

开发者 https://www.devze.com 2022-12-29 18:57 出处:网络
I\'m trying to figure out how to use HTTPClient (org.eclipse.jetty.client.HttpClient) so it will pipeline HTTP Requests.

I'm trying to figure out how to use HTTPClient (org.eclipse.jetty.client.HttpClient) so it will pipeline HTTP Requests.

I've tried开发者_运维知识库 to create some ContentExchange instances and applying the send() method for each, in an asynchronous mode, but each HTTP request has waited for it response before the next request was sent.

Can you please supply a code snippet for this case?


I think the apache http client may help

Java based HTTP Client which supports Pipelining

Also, there was another one in that thread as well that might work. I guess you can try some of the clients from that thread.

0

精彩评论

暂无评论...
验证码 换一张
取 消