diff --git a/README.md b/README.md index 7f722d2..61bc4ae 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Maven Central](https://img.shields.io/maven-central/v/net.sourceforge.streamsupport/http2client-java8.svg)](http://mvnrepository.com/artifact/net.sourceforge.streamsupport/http2client-java8) + # http2client-java8 ![](art/streamsupport-sf.png) @@ -7,6 +9,15 @@ An experimental Java 8 backport of the incubating Java 10 high-level HTTP and We HTTP 1.1 and 2 are both supported, as is SSL. Works also on Java 9 and Java 10. The minimum runtime requirement is OpenJDK (Oracle) Java 8. +```xml + + net.sourceforge.streamsupport + http2client-java8 + 0.1.1 + +``` + + Since the `CompletableFuture` from Java 8 doesn't implement the (`JEP 266`) features needed for the Java 8 implementation of the HTTP client a backport of the Java 9 CompletableFuture is necessary as a Maven dependency: