hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject New HttpAsyncClient 5.0 APIs
Date Wed, 01 Mar 2017 13:14:43 GMT
Folks

I put some examples that demonstrate the new HttpAsyncClient 5.0 APIs
in action. Please do feel free to take a look and comment, critique and
suggest improvements and changes

Simple async message exchanges (HTTP/1.1 and HTTP/2)

https://github.com/apache/httpclient/blob/trunk/httpclient5/src/examples/org/apache/hc/client5/http/examples/AsyncClientHttpExchange.java

Async message exchanges with response streaming (HTTP/1.1 and HTTP/2)

https://github.com/apache/httpclient/blob/trunk/httpclient5/src/examples/org/apache/hc/client5/http/examples/AsyncClientHttpExchangeStreaming.java

Pipelined message exchages (HTTP/1.1)

https://github.com/apache/httpclient/blob/trunk/httpclient5/src/examples/org/apache/hc/client5/http/examples/AsyncClientHttp1Pipelining.java

Multiplexed message exchages (HTTP/2)

https://github.com/apache/httpclient/blob/trunk/httpclient5/src/examples/org/apache/hc/client5/http/examples/AsyncClientHttp2Multiplexing.java

Server pushed message exchages (HTTP/2)

https://github.com/apache/httpclient/blob/trunk/httpclient5/src/examples/org/apache/hc/client5/http/examples/AsyncClientHttp2ServerPush.java

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message