JDK-8087125 : Implement test server for HTTP/2
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.net
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-06-10
  • Updated: 2016-05-02
  • Resolved: 2016-05-02
1) update implementation using some common code from client

2) possibly enhance the API to support some HTTP/2 features. Realistically, only features essential for testing HTTP/2:
  + ability to enable HTTP/2 per context
  + if possible limited server push capability

Implementation included as part of https://bugs.openjdk.java.net/browse/JDK-8087124

This task is more or less complete in the sandbox. HTTP/2 servers will only be used for internal testing and will not be added to the com.sun.net.httpserver code itself. The test server will therefore just be added to the jdk/test tree.