Skip to content
This repository has been archived by the owner on Feb 25, 2024. It is now read-only.

Experimental Java 8 backport of the incubating Java 10 HTTP/2 and WebSocket API

Notifications You must be signed in to change notification settings

stefan-zobel/http2client-java8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maven Central javadoc.io

http2client-java8

An experimental Java 8 backport of the incubating Java 10 high-level HTTP and WebSocket API (the jdk.incubator.http package).

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.

<dependency>
    <groupId>net.sourceforge.streamsupport</groupId>
    <artifactId>http2client-java8</artifactId>
    <version>0.1.1</version>
</dependency>

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:

<dependency>
    <groupId>net.sourceforge.streamsupport</groupId>
    <artifactId>java9-concurrent-backport</artifactId>
    <version>1.1.1</version>
</dependency>

Status:

  • Logging is not functional yet
  • Almost all of the tests are working now without resorts to daring gimmicks
  • Ready to use by the more adventurous developer

LICENSE

GNU General Public License, version 2, with the Classpath Exception

About

Experimental Java 8 backport of the incubating Java 10 HTTP/2 and WebSocket API

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages